linux/drivers/mtd
H Hartley Sweeten bcc98a46ea mtd: fix different address space noise
In mtd_ioctl MEMGETREGIONINFO the region_user_info pointer ur
is cast in __kernel space. This produces a number of sparse warnings
like:

warning: cast removes address space of expression
warning: incorrect type in initializer (different address spaces)
   expected unsigned int const [noderef] <asn:1>*register __p
   got unsigned int *<noident>

Since argp is already a void __user * just use it dirrectly without
the cast and make ur a __user *.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-02-25 11:29:48 +00:00
..
chips mtd: cfi: remove unneeded NULL checks 2010-02-25 11:27:38 +00:00
devices Merge git://git.infradead.org/mtd-2.6 2009-12-16 10:23:43 -08:00
lpddr
maps mtd: ixp4xx: fix reading from half-word boundary 2010-02-25 11:28:56 +00:00
nand mtd: mxc-nand: don't disable clock in mxcnd-suspend 2010-02-25 11:28:35 +00:00
onenand Merge git://git.infradead.org/mtd-2.6 2009-12-16 10:23:43 -08:00
tests mtd: make pagetest work 2009-11-30 10:02:41 +00:00
ubi Merge git://git.infradead.org/ubifs-2.6 2009-12-10 09:31:45 -08:00
afs.c
ar7part.c
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c
internal.h
Kconfig
Makefile
mtd_blkdevs.c Merge git://git.infradead.org/mtd-2.6 2009-12-16 10:23:43 -08:00
mtdbdi.c
mtdblock_ro.c
mtdblock.c
mtdchar.c mtd: fix different address space noise 2010-02-25 11:29:48 +00:00
mtdconcat.c
mtdcore.c mtd: ensure index is positive 2009-11-30 09:50:46 +00:00
mtdcore.h
mtdoops.c kmsg_dump: Dump on crash_kexec as well 2009-12-31 19:45:04 +00:00
mtdpart.c
mtdsuper.c
nftlcore.c
nftlmount.c
ofpart.c
redboot.c
rfd_ftl.c
ssfdc.c