Revision c67e5382fb3f312c95d8d01db40fb398e6da454d authored by H Hartley Sweeten on 31 May 2012, 23:26:10 UTC, committed by Linus Torvalds on 01 June 2012, 00:49:27 UTC
The init/mount.o source files produce a number of sparse warnings of the type: warning: incorrect type in argument 1 (different address spaces) expected char [noderef] <asn:1>*dev_name got char *name This is due to the syscalls expecting some of the arguments to be user pointers but they are being passed as kernel pointers. This is harmless but adds a lot of noise to a sparse build. To limit the noise just disable the sparse checking in the relevant source files, but still display a warning so that the user knows this has been done. Since the sparse checking has been disabled we can also remove the __user __force casts that are scattered thru the source. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 243f380
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 14 bytes |
IRQ-redir.txt | -rw-r--r-- | 2.5 KB |
Makefile | -rw-r--r-- | 218 bytes |
README | -rw-r--r-- | 1.2 KB |
aliasing-test.c | -rw-r--r-- | 6.0 KB |
aliasing.txt | -rw-r--r-- | 8.5 KB |
efirtc.txt | -rw-r--r-- | 4.3 KB |
err_inject.txt | -rw-r--r-- | 25.2 KB |
fsys.txt | -rw-r--r-- | 11.8 KB |
kvm.txt | -rw-r--r-- | 3.0 KB |
mca.txt | -rw-r--r-- | 8.8 KB |
paravirt_ops.txt | -rw-r--r-- | 6.2 KB |
serial.txt | -rw-r--r-- | 6.3 KB |
xen.txt | -rw-r--r-- | 5.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...