summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/libcfs/fail.c
diff options
context:
space:
mode:
authorAnil Belur <askb23@gmail.com>2014-06-23 22:40:00 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-26 20:54:58 -0400
commit0d2f6bb4b2c3fae1683ca604400a9c90a7399963 (patch)
tree31a1527269ce75c21d53ba599acd6d402483f79a /drivers/staging/lustre/lustre/libcfs/fail.c
parentdee2857e2250c1c1af9d34632087e4676218bcad (diff)
staging: lustre: lustre: libcfs: fail.c - fix sparse warnings EXPORT_SYMBOL
- this fixes "WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable" Signed-off-by: Anil Belur <askb23@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/libcfs/fail.c')
-rw-r--r--drivers/staging/lustre/lustre/libcfs/fail.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/staging/lustre/lustre/libcfs/fail.c b/drivers/staging/lustre/lustre/libcfs/fail.c
index ba43ff7f7900..f63eac98d54b 100644
--- a/drivers/staging/lustre/lustre/libcfs/fail.c
+++ b/drivers/staging/lustre/lustre/libcfs/fail.c
@@ -36,13 +36,15 @@
#include <linux/libcfs/libcfs.h>
unsigned long cfs_fail_loc = 0;
-unsigned int cfs_fail_val = 0;
-wait_queue_head_t cfs_race_waitq;
-int cfs_race_state;
-
EXPORT_SYMBOL(cfs_fail_loc);
+
+unsigned int cfs_fail_val = 0;
EXPORT_SYMBOL(cfs_fail_val);
+
+wait_queue_head_t cfs_race_waitq;
EXPORT_SYMBOL(cfs_race_waitq);
+
+int cfs_race_state;
EXPORT_SYMBOL(cfs_race_state);
int __cfs_fail_check_set(__u32 id, __u32 value, int set)