aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeena Sirwani <[email protected]>2014-10-01 14:37:36 +0530
committerGreg Kroah-Hartman <[email protected]>2014-10-02 09:58:15 -0700
commitd4b2d88a08c64fd57ff93a0f21db87d4c7c35bac (patch)
treea64753bd5e88e50fac6df0def5047b3b04d76fc7
parentd5bd05041631f6045130224eba1f50ef1c269826 (diff)
Staging: lustre: lnet: selftest: Made a function static.
The following patch makes a function static as it is not used by other files. The patch fixes the following warning: WARNING: symbol brw_inject_one_error was not declared. Should it be static? The above warning was reported by sparse. Signed-off-by: Heena Sirwani <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/lustre/lnet/selftest/brw_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c
index ca1080b8681d..48d8ed4a1756 100644
--- a/drivers/staging/lustre/lnet/selftest/brw_test.c
+++ b/drivers/staging/lustre/lnet/selftest/brw_test.c
@@ -131,7 +131,7 @@ brw_client_init(sfw_test_instance_t *tsi)
#define BRW_MAGIC 0xeeb0eeb1eeb2eeb3ULL
#define BRW_MSIZE sizeof(__u64)
-int
+static int
brw_inject_one_error(void)
{
struct timeval tv;