1
linux/drivers/staging/rt2860
Axel K 25cf62e431 Staging: rt2860/rt2870/rt3070/rt3090: fix compiler warning on x86_64
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>
2009-09-15 12:02:34 -07:00
..
common Staging: rt2860: fix possible NULL dereferences 2009-09-15 12:02:33 -07:00
sta Staging: rt2870: add Antenna Diversity support 2009-09-15 12:02:23 -07:00
2860_main_dev.c Staging: rt2860: add new device ids 2009-09-15 12:02:33 -07:00
aironet.h
ap.h Staging: rtxxx0: remove superfluous function prototypes 2009-09-15 12:02:19 -07:00
chlist.h Staging: rt3070: update allowed channels list for Japan 2009-09-15 12:02:21 -07:00
config.mk Staging: rt2860: Remove dependency on CFLAG RT2860 2009-04-03 14:53:31 -07:00
dfs.h Staging: rtxxx0: remove superfluous function prototypes 2009-09-15 12:02:19 -07:00
Kconfig
Makefile Staging: rt2860: prepare for rt28[67]0/*.[ch] merge 2009-06-19 11:00:50 -07:00
md5.h
mlme.h Staging: rt2860: remove dead CONFIG_AP_SUPPORT code 2009-06-19 11:00:48 -07:00
oid.h Staging: rtxxx0: remove private ioctls 2009-09-15 12:02:20 -07:00
rt28xx.h Staging: rtxxx0: remove superfluous RT30xx ifdefs 2009-09-15 12:02:19 -07:00
rt2860.h Staging: rt2860: add new device ids 2009-09-15 12:02:33 -07:00
rt_config.h Staging: rtxxx0: remove dead platform specific code 2009-09-15 12:02:18 -07:00
rt_linux.c Staging: rt2860/rt2870/rt3070/rt3090: fix compiler warning on x86_64 2009-09-15 12:02:34 -07:00
rt_linux.h Staging: rtxxx0: remove dead virtual adapter support 2009-09-15 12:02:19 -07:00
rt_main_dev.c Staging: rt2860: fix possible NULL dereferences 2009-09-15 12:02:33 -07:00
rt_profile.c Staging: rt2870: add Antenna Diversity support 2009-09-15 12:02:23 -07:00
rtmp_ckipmic.h Staging: rtxxx0: remove superfluous function prototypes 2009-09-15 12:02:19 -07:00
rtmp_def.h Staging: rtxxx0: remove unused code 2009-09-15 12:02:20 -07:00
rtmp_type.h
rtmp.h Staging: rtxx70: merge rt3070 with rt2870 2009-09-15 12:02:23 -07:00
spectrum_def.h
spectrum.h Staging: rt2860: remove dead RT_BIG_ENDIAN code 2009-06-19 11:00:46 -07:00
sta_ioctl.c Staging: rt2860: Fix test in rt_ioctl_siwfrag() 2009-09-15 12:02:24 -07:00
TODO staging: document that the wifi staging drivers a bit better 2009-04-03 14:54:27 -07:00
wpa.h Staging: rt28x0: fix GTK length check in ParseKeyData() 2009-09-15 12:02:22 -07:00