mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
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>
This commit is contained in:
parent
2e3e133d2e
commit
43311238ce
@ -178,7 +178,7 @@ brw_fill_page(struct page *pg, int pattern, __u64 magic)
|
||||
return;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
brw_check_page(struct page *pg, int pattern, __u64 magic)
|
||||
{
|
||||
char *addr = page_address(pg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user