mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
25cf62e431
When compiling rt2860/rt2870/rt3070 or rt3090 on x86_64, the following warning is displayed: drivers/staging/rt3090/rt_linux.c: In function 'duplicate_pkt': drivers/staging/rt3090/rt_linux.c:531: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast include2/asm/string_64.h:58: note: expected 'void *' but argument is of type 'sk_buff_data_t' drivers/staging/rt3090/rt_linux.c:533: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast include2/asm/string_64.h:58: note: expected 'void *' but argument is of type 'sk_buff_data_t' The following patch fixes this warning. Credits go to Helmut Schaa <hschaa@suse.de> for his kind advice/help on this patch. Signed-off-by: Axel Koellhofer <rain_maker@root-forum.org> Cc: Helmut Schaa <hschaa@suse.de> Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
common | ||
sta | ||
2860_main_dev.c | ||
aironet.h | ||
ap.h | ||
chlist.h | ||
config.mk | ||
dfs.h | ||
Kconfig | ||
Makefile | ||
md5.h | ||
mlme.h | ||
oid.h | ||
rt28xx.h | ||
rt2860.h | ||
rt_config.h | ||
rt_linux.c | ||
rt_linux.h | ||
rt_main_dev.c | ||
rt_profile.c | ||
rtmp_ckipmic.h | ||
rtmp_def.h | ||
rtmp_type.h | ||
rtmp.h | ||
spectrum_def.h | ||
spectrum.h | ||
sta_ioctl.c | ||
TODO | ||
wpa.h |