From: Mike Sampson Date: Fri, 4 Apr 2014 22:01:25 +0000 (+1100) Subject: Staging: lustre: mark a variable static in workitem.c X-Git-Tag: next-20140428~14^2~305 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d130c00069f53651edf9067baa713fb5044b9b0a;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/libcfs/workitem.c b/drivers/staging/lustre/lustre/libcfs/workitem.c index ba16fd5db704..0a03bf7ba3eb 100644 --- a/drivers/staging/lustre/lustre/libcfs/workitem.c +++ b/drivers/staging/lustre/lustre/libcfs/workitem.c @@ -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 */