From: Anil Belur Date: Mon, 23 Jun 2014 12:40:00 +0000 (+1000) Subject: staging: lustre: lustre: libcfs: fail.c - fix sparse warnings EXPORT_SYMBOL X-Git-Tag: firefly_0821_release~176^2~3491^2~1344 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0d2f6bb4b2c3fae1683ca604400a9c90a7399963;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 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)