From: Heena Sirwani Date: Wed, 1 Oct 2014 09:08:17 +0000 (+0530) Subject: Staging: lustre: lnet: selftest: Made a function static. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2e3e133d2ec87e9c0b82d338e4491f766c1113b1;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c index 48d8ed4a1756..75b51d835fdd 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -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);