Skip to content

Commit 5333875

Browse files
YueHaibingbostrovs
authored andcommitted
xen/pvcalls: Make pvcalls_back_global static
Fix sparse warning: drivers/xen/pvcalls-back.c:30:3: warning: symbol 'pvcalls_back_global' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: YueHaibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Stefano Stabellini <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent c54b071 commit 5333875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/xen/pvcalls-back.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define PVCALLS_VERSIONS "1"
2525
#define MAX_RING_ORDER XENBUS_MAX_RING_GRANT_ORDER
2626

27-
struct pvcalls_back_global {
27+
static struct pvcalls_back_global {
2828
struct list_head frontends;
2929
struct semaphore frontends_lock;
3030
} pvcalls_back_global;

0 commit comments

Comments
 (0)