2.6.7-rc2-mm1: gcc 2.95 uaccess.h warnings

From: Adrian Bunk
Date: Tue Jun 01 2004 - 09:57:53 EST


It seems to be Linus'

sparse: make x86 user pointer checks stricter.

patch that causes the following warnings for every single file including
uaccess.h when using gcc 2.95:

<-- snip -->

...
In file included from include/linux/poll.h:11,
from include/linux/skbuff.h:28,
from include/linux/security.h:34,
from init/do_mounts.c:8:
include/asm/uaccess.h: In function `verify_area':
include/asm/uaccess.h:109: warning: dereferencing `void *' pointer
include/asm/uaccess.h: In function `__copy_from_user':
include/asm/uaccess.h:453: warning: dereferencing `void *' pointer
include/asm/uaccess.h:456: warning: dereferencing `void *' pointer
include/asm/uaccess.h:459: warning: dereferencing `void *' pointer
...

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/