summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2025-01-27 15:23:02 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2025-01-28 11:28:48 +0100
commitb05d66c882994fb63e8435bf64f262ef44c51874 (patch)
tree8989f6acbf055c9348c796279652973353d85853 /tools/perf/scripts/python/export-to-postgresql.py
parent3b8b80e993766dc96d1a1c01c62f5d15fafc79b9 (diff)
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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202501270309.HzsVNo3o-lkp@intel.com/ Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions