diff mbox

cxl: Fix potential build failure - select ANON_INODES

Message ID 20161116182916.GF2697@decadent.org.uk (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Ben Hutchings Nov. 16, 2016, 6:29 p.m. UTC
cxl calls anon_inode_get() so must select ANON_INODES.

Fixes: 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 drivers/misc/cxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Andrew Donnellan Nov. 16, 2016, 10:30 p.m. UTC | #1
On 17/11/16 05:29, Ben Hutchings wrote:
> cxl calls anon_inode_get() so must select ANON_INODES.
>
> Fixes: 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API")
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

Thanks for catching this.

Is this patch still necessary once 
http://patchwork.ozlabs.org/patch/694415/ is applied though?
Ben Hutchings Nov. 16, 2016, 10:51 p.m. UTC | #2
On Thu, 2016-11-17 at 09:30 +1100, Andrew Donnellan wrote:
> On 17/11/16 05:29, Ben Hutchings wrote:
> > cxl calls anon_inode_get() so must select ANON_INODES.
> > 
> > Fixes: 6f7f0b3df6d4 ("cxl: Add AFU virtual PHB and kernel API")
> > Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> 
> 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.
diff mbox

Patch

diff --git a/drivers/misc/cxl/Kconfig b/drivers/misc/cxl/Kconfig
index b75cf830d08a..e745f77ac6a6 100644
--- a/drivers/misc/cxl/Kconfig
+++ b/drivers/misc/cxl/Kconfig
@@ -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