From: Heena Sirwani Date: Fri, 3 Oct 2014 05:14:25 +0000 (+0530) Subject: Staging: lustre: lnet: selftest: Made a function static. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec17e8113b5a17bc3326de7c50ea7f42c6272b48;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: lustre: lnet: selftest: Made a function static. The following patch makes a function static as it is not used by other files. The patch fixes the warning: WARNING: symbol 'brw_check_bulk' 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 a94f336d578c..bf6f125064eb 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -233,7 +233,7 @@ brw_fill_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) } } -int +static int brw_check_bulk(srpc_bulk_t *bk, int pattern, __u64 magic) { int i;