Re: [PATCH] dma: kmsan: Export kmsan_handle_dma() for modules.
From: Andrew Morton
Date: Tue Feb 18 2025 - 19:12:36 EST
On Tue, 18 Feb 2025 10:14:11 +0100 Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> wrote:
> 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.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502150634.qjxwSeJR-lkp@xxxxxxxxx/
> Fixes: 7ade4f10779cb ("dma: kmsan: unpoison DMA mappings")
It's strange that this took a few years to be noticed.
Thanks, I added cc:stable to this.