aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <[email protected]>2023-05-03 14:57:41 +0200
committerJohn Paul Adrian Glaubitz <[email protected]>2023-05-10 08:19:46 +0200
commitbc9d1f0cecd2407cfb2364a7d4be2f52d1d46a9d (patch)
tree7f099796c74a2db4ebc07f722cb55f5e9c721447 /lib/test_fortify/write_overflow-strlcpy-src.c
parentac9a78681b921877518763ba0e89202254349d1b (diff)
sh: j2: Use ioremap() to translate device tree address into kernel memory
Addresses the following warning when building j2_defconfig: arch/sh/kernel/cpu/sh2/probe.c: In function 'scan_cache': arch/sh/kernel/cpu/sh2/probe.c:24:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 24 | j2_ccr_base = (u32 __iomem *)of_flat_dt_translate_address(node); | Fixes: 5a846abad07f ("sh: add support for J-Core J2 processor") Reviewed-by: Geert Uytterhoeven <[email protected]> Tested-by: Rob Landley <[email protected]> Signed-off-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions