]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: fsl_ifc_nand: fix sparse warnings
authorKim Phillips <kim.phillips@freescale.com>
Thu, 13 Sep 2012 23:56:07 +0000 (18:56 -0500)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:54:13 +0000 (15:54 +0100)
commit2caf87a49eb53fac266b1271ebd6c1d1daa0d0d0
treeebdd2a10d8fb94370242b2fd46d495ad4c35d2fc
parentbb0a13a13411c4ce24c48c8ff3cdf7b48d237240
mtd: fsl_ifc_nand: fix sparse warnings

drivers/mtd/nand/fsl_ifc_nand.c:196:34: warning: cast removes address space of expression [sparse]
drivers/mtd/nand/fsl_ifc_nand.c:196:34: warning: incorrect type in initializer (different address spaces) [sparse]
drivers/mtd/nand/fsl_ifc_nand.c:196:34:    expected unsigned int [noderef] [usertype] <asn:2>*mainarea [sparse]
drivers/mtd/nand/fsl_ifc_nand.c:196:34:    got unsigned int [usertype] *<noident> [sparse]
...

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsl_ifc_nand.c