From: Heena Sirwani Date: Fri, 3 Oct 2014 05:15:38 +0000 (+0530) Subject: Staging: lustre: lnet: selftest: Made a function static. X-Git-Tag: v5.15~16669^2~1287 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c05ef92f64e6e16095e0cf8ae3ec3529624621f;p=platform%2Fkernel%2Flinux-starfive.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_bulk_ready' 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 9e04695..d7b26b0 100644 --- a/drivers/staging/lustre/lnet/selftest/brw_test.c +++ b/drivers/staging/lustre/lnet/selftest/brw_test.c @@ -378,7 +378,7 @@ brw_server_rpc_done(srpc_server_rpc_t *rpc) sfw_free_pages(rpc); } -int +static int brw_bulk_ready(srpc_server_rpc_t *rpc, int status) { __u64 magic = BRW_MAGIC;