aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorVasily Gorbik <[email protected]>2025-01-27 14:23:02 +0000
committerAlexander Gordeev <[email protected]>2025-01-28 10:28:48 +0000
commitb05d66c882994fb63e8435bf64f262ef44c51874 (patch)
tree8989f6acbf055c9348c796279652973353d85853 /scripts/rustdoc_test_gen.rs
parents390: Add '-std=gnu11' to decompressor and purgatory CFLAGS (diff)
downloadkernel-b05d66c882994fb63e8435bf64f262ef44c51874.tar.gz
kernel-b05d66c882994fb63e8435bf64f262ef44c51874.zip
s390/vmem: Fix null-pointer-arithmetic warning in vmem_map_init()
Fixes the following clang warning introduced by commit d7bebcb4a898 ("s390: Optimize __pa/__va when RANDOMIZE_IDENTITY_BASE is off") arch/s390/mm/vmem.c:665:36: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 665 | __set_memory_4k(__va(0), __va(0) + ident_map_size); | ~~~~~~~ ^ Fixes: d7bebcb4a898 ("s390: Optimize __pa/__va when RANDOMIZE_IDENTITY_BASE is off") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions