mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
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>
This commit is contained in:
parent
a9650e9bc5
commit
64417a3989
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user