summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/s3c2410_wdt.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2019-12-29 19:36:10 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-01-21 20:00:33 +0100
commit14b292adcc780b2a319862f22a60054fe72e382f (patch)
treeed3b942b947d0cc72fa248ab1cf3b64849248392 /drivers/watchdog/s3c2410_wdt.c
parentmtd: rawnand: denali: remove hard-coded DENALI_DEFAULT_OOB_SKIP_BYTES (diff)
downloadlinux-14b292adcc780b2a319862f22a60054fe72e382f.tar.xz
linux-14b292adcc780b2a319862f22a60054fe72e382f.zip
mtd: onenand: samsung: Fix pointer cast -Wpointer-to-int-cast warnings on 64 bit
iomem pointers should be casted to unsigned long to avoid -Wpointer-to-int-cast warnings when compiling on 64-bit platform (e.g. with COMPILE_TEST): drivers/mtd/nand/onenand/samsung_mtd.c: In function ‘s3c_onenand_readw’: drivers/mtd/nand/onenand/samsung_mtd.c:251:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned int) addr < ONENAND_DATARAM && onenand->bootram_command) { ^ Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/watchdog/s3c2410_wdt.c')
0 files changed, 0 insertions, 0 deletions