linux/mm/kmsan
Ilya Leoshkevich b1a80f4be7 kmsan: do not pass NULL pointers as 0
sparse complains about passing NULL pointers as 0.  Fix all instances.

Link: https://lkml.kernel.org/r/20240627145754.27333-3-iii@linux.ibm.com
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406272033.KejtfLkw-lkp@intel.com/
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-07-03 19:30:26 -07:00
..
core.c kmsan: add missing __user tags 2024-07-03 19:30:26 -07:00
hooks.c kmsan: do not pass NULL pointers as 0 2024-07-03 19:30:26 -07:00
init.c kmsan: accept ranges starting with 0 on s390 2024-07-03 19:30:23 -07:00
instrumentation.c kmsan: do not pass NULL pointers as 0 2024-07-03 19:30:26 -07:00
kmsan_test.c kmsan: make the tests compatible with kmsan.panic=1 2024-07-03 19:30:21 -07:00
kmsan.h kmsan: add missing __user tags 2024-07-03 19:30:26 -07:00
Makefile kmsan: disable ftrace in kmsan core code 2023-02-20 12:46:16 -08:00
report.c kmsan: add missing __user tags 2024-07-03 19:30:26 -07:00
shadow.c kmsan: use ALIGN_DOWN() in kmsan_get_metadata() 2024-07-03 19:30:22 -07:00