diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2016-04-18 01:03:50 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-16 08:49:27 -0400 |
commit | 64417a398973d964139306c0b152536e468bf77c (patch) | |
tree | a9ee64c7a123f3192074acc40ea3f4df1a7941b1 | |
parent | a9650e9bc53239c30c39f77d9d8541e84641298a (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.c | 4 |
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 | ||
26 | static struct semaphore sem; | 26 | static struct semaphore sem; |
27 | unsigned long *buffer[CXL_AI_MAX_ENTRIES]; | 27 | static unsigned long *buffer[CXL_AI_MAX_ENTRIES]; |
28 | struct sg_list *le; | 28 | static struct sg_list *le; |
29 | static u64 continue_token; | 29 | static u64 continue_token; |
30 | static unsigned int transfer; | 30 | static unsigned int transfer; |
31 | 31 | ||