diff options
| author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-09 22:09:28 +0200 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 10:10:17 +0200 |
| commit | c5b76d8dd2bf318d9e6b4b3a480b9e96c01b31c8 (patch) | |
| tree | c0c37faf307f26d78cd1d0ef045407810d38ca81 /include/linux/debugobjects.h | |
| parent | 88a40e7dca00fef96e4396c3e8c0077ab96b15a6 (diff) | |
| download | cachepc-linux-c5b76d8dd2bf318d9e6b4b3a480b9e96c01b31c8.tar.gz cachepc-linux-c5b76d8dd2bf318d9e6b4b3a480b9e96c01b31c8.zip | |
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
