]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/mdev: don't warn if ->request is not set
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Jul 2021 14:35:24 +0000 (16:35 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 2 Aug 2021 21:23:43 +0000 (15:23 -0600)
commit2c8e924d213de9973810f29f20a9fdb44289454d
tree07612a3e0f29b0f42364597cd0f3b9c107a22bb0
parent156b86ee780df9ac92eb78730307166a3d72f5fc
vfio/mdev: don't warn if ->request is not set

Only a single driver actually sets the ->request method, so don't print
a scary warning if it isn't.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20210726143524.155779-3-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/mdev/mdev_core.c