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 |
---|---|---|
media | ||
.gitignore | -rw-r--r-- | 110 bytes |
80211.tmpl | -rw-r--r-- | 20.6 KB |
Makefile | -rw-r--r-- | 7.3 KB |
alsa-driver-api.tmpl | -rw-r--r-- | 3.1 KB |
debugobjects.tmpl | -rw-r--r-- | 15.5 KB |
device-drivers.tmpl | -rw-r--r-- | 15.0 KB |
deviceiobook.tmpl | -rw-r--r-- | 11.0 KB |
drm.tmpl | -rw-r--r-- | 32.2 KB |
filesystems.tmpl | -rw-r--r-- | 13.1 KB |
gadget.tmpl | -rw-r--r-- | 29.9 KB |
genericirq.tmpl | -rw-r--r-- | 16.9 KB |
kernel-api.tmpl | -rw-r--r-- | 8.5 KB |
kernel-hacking.tmpl | -rw-r--r-- | 42.7 KB |
kernel-locking.tmpl | -rw-r--r-- | 66.1 KB |
kgdb.tmpl | -rw-r--r-- | 41.6 KB |
libata.tmpl | -rw-r--r-- | 46.6 KB |
librs.tmpl | -rw-r--r-- | 8.0 KB |
lsm.tmpl | -rw-r--r-- | 12.0 KB |
media_api.tmpl | -rw-r--r-- | 4.9 KB |
mtdnand.tmpl | -rw-r--r-- | 43.7 KB |
networking.tmpl | -rw-r--r-- | 2.9 KB |
rapidio.tmpl | -rw-r--r-- | 4.6 KB |
regulator.tmpl | -rw-r--r-- | 9.8 KB |
s390-drivers.tmpl | -rw-r--r-- | 5.4 KB |
scsi.tmpl | -rw-r--r-- | 14.5 KB |
sh.tmpl | -rw-r--r-- | 2.6 KB |
stylesheet.xsl | -rw-r--r-- | 445 bytes |
tracepoint.tmpl | -rw-r--r-- | 3.3 KB |
uio-howto.tmpl | -rw-r--r-- | 33.6 KB |
usb.tmpl | -rw-r--r-- | 38.4 KB |
writing-an-alsa-driver.tmpl | -rw-r--r-- | 200.6 KB |
writing_usb_driver.tmpl | -rw-r--r-- | 17.0 KB |
z8530book.tmpl | -rw-r--r-- | 14.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...