module: Show the last unloaded module's taint flag(s)
authorAaron Tomlin <atomlin@redhat.com>
Thu, 14 Jul 2022 15:39:33 +0000 (16:39 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Fri, 15 Jul 2022 00:40:23 +0000 (17:40 -0700)
commit6f1dae1d84b6d08541d8e12edd1c8677ab279dea
tree3c7776d7aad9d38ce88924822f8fa2d0a1d517a3
parentdbf0ae65bce48bf4c2b6d114cac10193ef050294
module: Show the last unloaded module's taint flag(s)

For diagnostic purposes, this patch, in addition to keeping a record/or
track of the last known unloaded module, we now will include the
module's taint flag(s) too e.g: " [last unloaded: fpga_mgr_mod(OE)]"

Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/main.c