Skip to contentSkip to conversation

cxl: Fix potential build failure - select ANON_INODES

PATCH In review Ben Hutchings 2 participants 3 messages Nov 16, 2016 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxl: Fix potential build failure - select ANON_INODES

cxl calls anon_inode_get() so must select ANON_INODES.

Fixes 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API")
---
 drivers/misc/cxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/misc/cxl/Kconfig +1 -0
index b75cf830d08a..e745f77ac6a6 100644
@@ -16,6 +16,7 @@ config CXL
 	depends on PPC_POWERNV && PCI_MSI && EEH
 	select CXL_BASE
 	select CXL_AFU_DRIVER_OPS
+	select ANON_INODES
 	default m
 	help
 	  Select this option to enable driver support for IBM Coherent
#2 lore raw
Quoted 10 lines · Andrew Donnellan
Quoted 4 lines · Ben Hutchings

cxl calls anon_inode_get() so must select ANON_INODES.

Fixes 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API")

Thanks for catching this.

Is this patch still necessary once
http://patchwork.ozlabs.org/patch/694415/ is applied though?

It doesn't appear to be.

Ben.

Signature · 3 lines
Ben Hutchings
Time is nature's way of making sure that everything doesn't happen at
once.