[PATCH 6/8] vfio/mdev: unexport mdev_bus_type
Jason Gunthorpe
jgg at ziepe.ca
Mon Jun 6 23:46:09 UTC 2022
On Fri, Jun 03, 2022 at 08:33:26AM +0200, Christoph Hellwig wrote:
> mdev_bus_type is only used in mdev.ko now, so unexport it.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> drivers/vfio/mdev/mdev_driver.c | 1 -
> drivers/vfio/mdev/mdev_private.h | 1 +
> include/linux/mdev.h | 2 --
> 3 files changed, 1 insertion(+), 3 deletions(-)
Yay, people trying to sneak in tests of this bus type in platform code
has been a problem in the past
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the intel-gvt-dev
mailing list