X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-ppc%2Fchecksum.h;h=cf953a92c7ab53a9c2f73d931f88e47b89dc8eae;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=d98a93d82ed3c2f21d83dd285511955f653a94fd;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-ppc/checksum.h b/include/asm-ppc/checksum.h index d98a93d82..cf953a92c 100644 --- a/include/asm-ppc/checksum.h +++ b/include/asm-ppc/checksum.h @@ -33,7 +33,7 @@ extern unsigned int csum_partial_copy_generic(const char *src, char *dst, int *src_err, int *dst_err); #define csum_partial_copy_from_user(src, dst, len, sum, errp) \ - csum_partial_copy_generic((src), (dst), (len), (sum), (errp), NULL) + csum_partial_copy_generic((__force void *)(src), (dst), (len), (sum), (errp), NULL) /* FIXME: this needs to be written to really do no check -- Cort */ #define csum_partial_copy_nocheck(src, dst, len, sum) \