[RFC PATCH] vfio/mdev: mdev_type_attr_aggregation can be static

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

 



Fixes: b335e826b3eb ("vfio/mdev: Add "aggregation" attribute for supported mdev type")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
 mdev_sysfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/mdev/mdev_sysfs.c b/drivers/vfio/mdev/mdev_sysfs.c
index acd3ec2900b5c..2f4faef85858d 100644
--- a/drivers/vfio/mdev/mdev_sysfs.c
+++ b/drivers/vfio/mdev/mdev_sysfs.c
@@ -105,7 +105,7 @@ aggregation_show(struct kobject *kobj, struct device *dev, char *buf)
 	else
 		return sprintf(buf, "%u\n", m);
 }
-MDEV_TYPE_ATTR_RO(aggregation);
+static MDEV_TYPE_ATTR_RO(aggregation);
 
 static void mdev_type_release(struct kobject *kobj)
 {



[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