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

Adrian Bunk
2004-06-01T14:55:34Z

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