1
0
Fork 0

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_fill_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>
hifive-unleashed-5.1
Heena Sirwani 2014-10-01 14:38:17 +05:30 committed by Greg Kroah-Hartman
parent d4b2d88a08
commit 2e3e133d2e
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ brw_inject_one_error(void)
return brw_inject_errors--;
}
void
static void
brw_fill_page(struct page *pg, int pattern, __u64 magic)
{
char *addr = page_address(pg);