From 64417a398973d964139306c0b152536e468bf77c Mon Sep 17 00:00:00 2001 From: Andrew Donnellan Date: Mon, 18 Apr 2016 15:03:50 +1000 Subject: cxl: static-ify variables to fix sparse warnings Make a couple more variables static. Found by sparse. Signed-off-by: Andrew Donnellan Reviewed-by: fbarrat@linux.vnet.ibm.com Reviewed-by: Matthew R. Ochs Acked-by: Ian Munsie Signed-off-by: Michael Ellerman --- drivers/misc/cxl/flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/misc/cxl') 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 { }; static struct semaphore sem; -unsigned long *buffer[CXL_AI_MAX_ENTRIES]; -struct sg_list *le; +static unsigned long *buffer[CXL_AI_MAX_ENTRIES]; +static struct sg_list *le; static u64 continue_token; static unsigned int transfer; -- cgit v1.2.3