Searched hist:c5b76d8dd2bf318d9e6b4b3a480b9e96c01b31c8 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
H A D | davinci_nand.c | c5b76d8dd2bf318d9e6b4b3a480b9e96c01b31c8 Mon Jul 09 20:09:28 UTC 2018 Boris Brezillon <boris.brezillon@bootlin.com> mtd: rawnand: davinci: Stop doing iomem pointer <-> u32 conversions
There is no point in doing this sort of conversion since we can replace |= by += operations which are perfectly valid on pointers.
This is done in preparation of COMPILE_TEST addition to the NAND_DAVINCI Kconfig entry, since building for x86 generates several warnings because of inappropriate u32 <-> void * conversions (pointers are 64-bit large on x86_64).
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
|