]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit3fb1712d85962f81265b5018922a2da13cdf6033
tree07612a3e0f29b0f42364597cd0f3b9c107a22bb0
parent15a5896e61acb7cbad5efd9cf807a4d9a5e8315d
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