Skip to content

Commit 4331123

Browse files
darbyShawgregkh
authored andcommitted
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>
1 parent 2e3e133 commit 4331123

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/lustre/lnet/selftest/brw_test.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ brw_fill_page(struct page *pg, int pattern, __u64 magic)
178178
return;
179179
}
180180

181-
int
181+
static int
182182
brw_check_page(struct page *pg, int pattern, __u64 magic)
183183
{
184184
char *addr = page_address(pg);

0 commit comments

Comments
 (0)