From: Axel K Date: Thu, 3 Sep 2009 19:13:56 +0000 (+0200) Subject: Staging: rt2860/rt2870/rt3070/rt3090: fix compiler warning on x86_64 X-Git-Tag: v2.6.32-rc1~668^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25cf62e43110c43869a58505dae22ad5e2b1416a;p=pandora-kernel.git 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 for his kind advice/help on this patch. Signed-off-by: Axel Koellhofer Cc: Helmut Schaa Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed