Skip to contentSkip to conversation

drivers/vfio: Export vfio_spapr_iommu_eeh_ioctl() with GPL

PATCH Applied Gavin Shan 2 participants 2 messages Sep 27, 2014 – Sep 30, 2014

Subsystems (2)
lore
Share & tools
lore

Gavin Shan

author
#0 lore raw

PATCH 1/1 drivers/vfio: Export vfio_spapr_iommu_eeh_ioctl() with GPL

The function should have been exported with EXPORT_SYMBOL_GPL() as part of commit 92d18a68 ("drivers/vfio: Fix EEH build error").

---
 drivers/vfio/vfio_spapr_eeh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/vfio/vfio_spapr_eeh.c +1 -1
index 86dfceb..5fa42db 100644
@@ -92,7 +92,7 @@ long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group,
 
 	return ret;
 }
-EXPORT_SYMBOL(vfio_spapr_iommu_eeh_ioctl);
+EXPORT_SYMBOL_GPL(vfio_spapr_iommu_eeh_ioctl);
 
 MODULE_VERSION(DRIVER_VERSION);
 MODULE_LICENSE("GPL v2");
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 14 lines · Gavin Shan

The function should have been exported with EXPORT_SYMBOL_GPL() as part of commit 92d18a68 ("drivers/vfio: Fix EEH build error").

---
 drivers/vfio/vfio_spapr_eeh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/vfio/vfio_spapr_eeh.c +0 -0
index 86dfceb..5fa42db 100644

drivers/vfio/vfio_spapr_eeh.c long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, · line 98

Quoted 8 lines
drivers/vfio/vfio_spapr_eeh.c +1 -1
@@ -92,7 +92,7 @@ long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group,
 
 	return ret;
 }
-EXPORT_SYMBOL(vfio_spapr_iommu_eeh_ioctl);
+EXPORT_SYMBOL_GPL(vfio_spapr_iommu_eeh_ioctl);
 
 MODULE_VERSION(DRIVER_VERSION);
 MODULE_LICENSE("GPL v2");

Applied to linux-vfio.git/next for 3.18. Thanks!

Alex