summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2016-04-18 01:03:50 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-16 08:49:27 -0400
commit64417a398973d964139306c0b152536e468bf77c (patch)
treea9ee64c7a123f3192074acc40ea3f4df1a7941b1
parenta9650e9bc53239c30c39f77d9d8541e84641298a (diff)
cxl: static-ify variables to fix sparse warnings
Make a couple more variables static. Found by sparse. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Reviewed-by: fbarrat@linux.vnet.ibm.com Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--drivers/misc/cxl/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cxl/flash.c b/drivers/misc/cxl/flash.c
index 68dd0b7da471..c63d61e17d56 100644
--- a/drivers/misc/cxl/flash.c
+++ b/drivers/misc/cxl/flash.c
@@ -24,8 +24,8 @@ struct ai_header {
24}; 24};
25 25
26static struct semaphore sem; 26static struct semaphore sem;
27unsigned long *buffer[CXL_AI_MAX_ENTRIES]; 27static unsigned long *buffer[CXL_AI_MAX_ENTRIES];
28struct sg_list *le; 28static struct sg_list *le;
29static u64 continue_token; 29static u64 continue_token;
30static unsigned int transfer; 30static unsigned int transfer;
31 31