Staging: lustre: mark a variable static in workitem.c
authorMike Sampson <mike@sambodata.com>
Fri, 4 Apr 2014 22:01:25 +0000 (09:01 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Apr 2014 03:24:31 +0000 (20:24 -0700)
This fixes a sparse warning:
warning: symbol 'cfs_wi_data' was not declared. Should it be static?

Signed-off-by: Mike Sampson <mike@sambodata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/workitem.c

index ba16fd5db704d775cd84deb3f53c38c34a59c5f5..0a03bf7ba3eb2e907425f980d7c8208ce46697cc 100644 (file)
@@ -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 */