[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161223154244.29145-1-Karthik.188@gmail.com>
Date: Fri, 23 Dec 2016 21:12:44 +0530
From: Karthik Nayak <karthik.188@...il.com>
To: linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org
Cc: lustre-devel@...ts.lustre.org, kirill.shutemov@...ux.intel.com,
liang.zhen@...el.com, gregkh@...uxfoundation.org,
jsimmons@...radead.org, andreas.dilger@...el.com,
oleg.drokin@...el.com, Karthik Nayak <Karthik.188@...il.com>
Subject: [PATCH] staging: lustre: selftest: Make brw_inject_one_error() static
Since the function brw_inject_one_error() is used only within
brw_test.c, make it static. This was reported as a warning by sparse.
Signed-off-by: Karthik Nayak <Karthik.188@...il.com>
---
drivers/staging/lustre/lnet/selftest/brw_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c
index 67b460f..b9ac34e 100644
--- a/drivers/staging/lustre/lnet/selftest/brw_test.c
+++ b/drivers/staging/lustre/lnet/selftest/brw_test.c
@@ -136,7 +136,7 @@ brw_client_init(struct sfw_test_instance *tsi)
return 0;
}
-int brw_inject_one_error(void)
+static int brw_inject_one_error(void)
{
struct timespec64 ts;
--
2.10.2
Powered by blists - more mailing lists