diff options
author | Jeremiah Mahler <jmmahler@gmail.com> | 2014-12-27 12:46:47 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-17 15:52:58 -0800 |
commit | 62366bf14c9a198ae4daadffd4d8c4156febfd18 (patch) | |
tree | 8c6cdd2d070c5d585ecfe829f3c9442e4e3b0094 /drivers/staging/lustre/lnet/selftest/framework.c | |
parent | staging: lustre: selftest: fix "not declared" by declaring in header (diff) | |
download | linux-dev-62366bf14c9a198ae4daadffd4d8c4156febfd18.tar.xz linux-dev-62366bf14c9a198ae4daadffd4d8c4156febfd18.zip |
staging: lustre: selftest: fix "not declared" by declaring static
Fix several "symbol '...' was not declared" sparse warnings
for variables which are only used locally by declaring them static.
Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/framework.c')
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/framework.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/framework.c b/drivers/staging/lustre/lnet/selftest/framework.c index cc9d1826ae66..56b4ef4a5592 100644 --- a/drivers/staging/lustre/lnet/selftest/framework.c +++ b/drivers/staging/lustre/lnet/selftest/framework.c @@ -103,7 +103,7 @@ do { \ #define sfw_test_active(t) (atomic_read(&(t)->tsi_nactive) != 0) #define sfw_batch_active(b) (atomic_read(&(b)->bat_nactive) != 0) -struct smoketest_framework { +static struct smoketest_framework { struct list_head fw_zombie_rpcs; /* RPCs to be recycled */ struct list_head fw_zombie_sessions; /* stopping sessions */ struct list_head fw_tests; /* registered test cases */ |