]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dma: kmsan: export kmsan_handle_dma() for modules
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 18 Feb 2025 09:14:11 +0000 (10:14 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 00:58:44 +0000 (16:58 -0800)
commitdf565d214042d2c230c0949193e44391768f140d
tree08e9f870794c459ae908b07f67652abb06793d48
parentcfac4ad76897c35e37d2bebbd829a93560aeb78a
dma: kmsan: export kmsan_handle_dma() for modules

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: 7ade4f10779c ("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>
mm/kmsan/hooks.c