Thread (5 messages) 5 messages, 4 authors, 2018-10-03

Re: [PATCH kernel] cxl: Remove unused include

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-09-28 12:51:18

Alexey Kardashevskiy [off-list ref] writes:
The included opal.h gives a wrong idea that CXL makes PPC OPAL calls
while it does not so let's remote it.
But it does use eg.

  OPAL_PHB_CAPI_MODE_SNOOP_ON
  OPAL_PHB_CAPI_MODE_CAPI

Which come from opal-api.h via opal.h.

So you should at least include opal-api.h.

cheers
quoted hunk ↗ jump to hunk
diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
index b66d832..8cbcbb7 100644
--- a/drivers/misc/cxl/pci.c
+++ b/drivers/misc/cxl/pci.c
@@ -17,7 +17,6 @@
 #include <linux/pci.h>
 #include <linux/of.h>
 #include <linux/delay.h>
-#include <asm/opal.h>
 #include <asm/msi_bitmap.h>
 #include <asm/pnv-pci.h>
 #include <asm/io.h>
-- 
2.11.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help