diff options
author | Heena Sirwani <heenasirwani@gmail.com> | 2014-10-01 05:09:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 12:58:15 -0400 |
commit | 43311238ce5864a8b01d35931d63da14044a2c0d (patch) | |
tree | 31a813b408072e0f1f6f17b82700fe556bd17d6c | |
parent | 2e3e133d2ec87e9c0b82d338e4491f766c1113b1 (diff) |
Staging: lustre: lnet: selftest: Made a function static.
The following patch makes a function static as it was not used by other
files.
The patch fixes the warning:
WARNING: symbol 'brw_check_page' was not declared. Should it be static?
The above warning was reported by sparse.
Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/brw_test.c | 2 |
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 75b51d835fdd..4a6da10676e0 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c | |||
@@ -178,7 +178,7 @@ brw_fill_page(struct page *pg, int pattern, __u64 magic) | |||
178 | return; | 178 | return; |
179 | } | 179 | } |
180 | 180 | ||
181 | int | 181 | static int |
182 | brw_check_page(struct page *pg, int pattern, __u64 magic) | 182 | brw_check_page(struct page *pg, int pattern, __u64 magic) |
183 | { | 183 | { |
184 | char *addr = page_address(pg); | 184 | char *addr = page_address(pg); |