Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64417a39 authored by Andrew Donnellan's avatar Andrew Donnellan Committed by Michael Ellerman
Browse files

cxl: static-ify variables to fix sparse warnings



Make a couple more variables static. Found by sparse.

Signed-off-by: default avatarAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: default avatar <fbarrat@linux.vnet.ibm.com>
Reviewed-by: default avatarMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: default avatarIan Munsie <imunsie@au1.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent a9650e9b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -24,8 +24,8 @@ struct ai_header {
};
};


static struct semaphore sem;
static struct semaphore sem;
unsigned long *buffer[CXL_AI_MAX_ENTRIES];
static unsigned long *buffer[CXL_AI_MAX_ENTRIES];
struct sg_list *le;
static struct sg_list *le;
static u64 continue_token;
static u64 continue_token;
static unsigned int transfer;
static unsigned int transfer;