diff options
author | Heiko Carstens <[email protected]> | 2024-07-29 15:45:58 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2024-07-31 16:30:20 +0200 |
commit | 1e72ba5566d90a668c1c0fbde319cec03454fd20 (patch) | |
tree | 289803cb2aa415140869e01d922909ac5383cfa6 /arch/s390/mm/init.c | |
parent | 7e12284c523be33f34d43b2bf8627ab0c8af2388 (diff) |
s390/mm: Get rid of RELOC_HIDE()
Since __va(0) does not translate to NULL anymore remove RELOC_HIDE()
which was only added to get rid of a compile warning with clang W=1:
arch/s390/mm/vmem.c:666:36: warning: performing pointer arithmetic on
a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
666 | __set_memory_4k(__va(0), __va(0) + ident_map_size);
| ~~~~~~~ ^
Reviewed-by: Alexander Gordeev <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'arch/s390/mm/init.c')
0 files changed, 0 insertions, 0 deletions