Re: [PATCH 03/14] vfio/mdev: make mdev.h standalone includable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/9/22 00:54, Christoph Hellwig wrote:
Include <linux/device.h> and <linux/uuid.h> so that users of this headers
don't need to do that and remove those includes that aren't needed
any more.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
Reviewed By: Kirti Wankhede <kwankhede@xxxxxxxxxx>
---
  drivers/gpu/drm/i915/gvt/kvmgt.c      | 2 --
  drivers/s390/cio/vfio_ccw_drv.c       | 1 -
  drivers/s390/crypto/vfio_ap_private.h | 1 -
  drivers/vfio/mdev/mdev_core.c         | 2 --
  drivers/vfio/mdev/mdev_driver.c       | 1 -
  drivers/vfio/mdev/mdev_sysfs.c        | 2 --
  include/linux/mdev.h                  | 3 +++
  samples/vfio-mdev/mbochs.c            | 1 -
  samples/vfio-mdev/mdpy.c              | 1 -
  samples/vfio-mdev/mtty.c              | 2 --
  10 files changed, 3 insertions(+), 13 deletions(-)

> ...
diff --git a/drivers/s390/crypto/vfio_ap_private.h b/drivers/s390/crypto/vfio_ap_private.h
index a26efd804d0df..6616aa83347ad 100644
--- a/drivers/s390/crypto/vfio_ap_private.h
+++ b/drivers/s390/crypto/vfio_ap_private.h
@@ -13,7 +13,6 @@
  #define _VFIO_AP_PRIVATE_H_
#include <linux/types.h>
-#include <linux/device.h>
  #include <linux/mdev.h>
  #include <linux/delay.h>
  #include <linux/mutex.h>

Signed-off-by: Jason J. Herne <jjherne@xxxxxxxxxxxxx>



--
-- Jason J. Herne (jjherne@xxxxxxxxxxxxx)



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux