Commit 43311238 authored by Heena Sirwani's avatar Heena Sirwani Committed by Greg Kroah-Hartman

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: default avatarHeena Sirwani <heenasirwani@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2e3e133d
...@@ -178,7 +178,7 @@ brw_fill_page(struct page *pg, int pattern, __u64 magic) ...@@ -178,7 +178,7 @@ brw_fill_page(struct page *pg, int pattern, __u64 magic)
return; return;
} }
int static int
brw_check_page(struct page *pg, int pattern, __u64 magic) brw_check_page(struct page *pg, int pattern, __u64 magic)
{ {
char *addr = page_address(pg); char *addr = page_address(pg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment