linux-yocto/mm/kmsan
Sebastian Andrzej Siewior 83732451a9 dma: kmsan: export kmsan_handle_dma() for modules
commit 19fac3c939 upstream.

kmsan_handle_dma() is used by virtio_ring() which can be built as a
module.  kmsan_handle_dma() needs to be exported otherwise building the
virtio_ring fails.

Export kmsan_handle_dma for modules.

Link: https://lkml.kernel.org/r/20250218091411.MMS3wBN9@linutronix.de
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202502150634.qjxwSeJR-lkp@intel.com/
Fixes: 7ade4f1077 ("dma: kmsan: unpoison DMA mappings")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitriy Vyukov <dvyukov@google.com>
Cc: Macro Elver <elver@google.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-13 13:01:58 +01:00
..
core.c kmsan: add missing __user tags 2024-07-03 19:30:26 -07:00
hooks.c dma: kmsan: export kmsan_handle_dma() for modules 2025-03-13 13:01:58 +01: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