kmsan: export kmsan_handle_urb
authorArnd Bergmann <arnd@arndb.de>
Thu, 15 Dec 2022 16:26:57 +0000 (17:26 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Dec 2022 22:31:52 +0000 (14:31 -0800)
commit7ba594d700998bafa96a75360d2e060aa39156d2
treedee3fa8bacf171205befc05fb671afeb1a375507
parentaaa746ad8b30f38ef89a301faf339ef1c19cf33a
kmsan: export kmsan_handle_urb

USB support can be in a loadable module, and this causes a link failure
with KMSAN:

ERROR: modpost: "kmsan_handle_urb" [drivers/usb/core/usbcore.ko] undefined!

Export the symbol so it can be used by this module.

Link: https://lkml.kernel.org/r/20221215162710.3802378-1-arnd@kernel.org
Fixes: 553a80188a5d ("kmsan: handle memory sent to/from USB")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kmsan/hooks.c