Skip to content

Commit 56e1cca

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_fill_bulk' was not declared. Should it be static? The above warning was reported by sparse. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4331123 commit 56e1cca

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
@@ -221,7 +221,7 @@ brw_check_page(struct page *pg, int pattern, __u64 magic)
221221
return 1;
222222
}
223223

224-
void
224+
static void
225225
brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic)
226226
{
227227
int i;

0 commit comments

Comments
 (0)