Staging: lustre: mark a variable static in workitem.c
PATCH v3 1/1 Staging: lustre: mark a variable static in workitem.c
This fixes a sparse warning:
warning: symbol 'cfs_wi_data' was not declared. Should it be static?
Signed-off-by Mike Sampson <[email protected]>
---
v3: updated the changelog
drivers/staging/lustre/lustre/libcfs/workitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/libcfs/workitem.c +1 -1
@@ -75,7 +75,7 @@ typedef struct cfs_wi_sched {char ws_name[CFS_WS_NAME_LEN ]; } cfs_wi_sched_t; -struct cfs_workitem_data { +static struct cfs_workitem_data { /** serialize */ spinlock_t wi_glock; /** list of all schedulers */
Signature · 1 line
1.9.1