From: Vincenzo Scotti Date: Sun, 30 Nov 2014 23:10:26 +0000 (+0100) Subject: staging: lustre: fix sparse warnings: static function declaration X-Git-Tag: firefly_0821_release~176^2~2665^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=450b31a9d0a601c78995ea0f9cefd07b05a8dc34;p=firefly-linux-kernel-4.4.55.git staging: lustre: fix sparse warnings: static function declaration Signed-off-by: Vincenzo Scotti Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/ptlrpc/layout.c b/drivers/staging/lustre/lustre/ptlrpc/layout.c index 252f3e13d04a..dc5ceb55d001 100644 --- a/drivers/staging/lustre/lustre/ptlrpc/layout.c +++ b/drivers/staging/lustre/lustre/ptlrpc/layout.c @@ -1999,7 +1999,7 @@ static void *__req_capsule_get(struct req_capsule *pill, /** * Dump a request and/or reply */ -void __req_capsule_dump(struct req_capsule *pill, enum req_location loc) +static void __req_capsule_dump(struct req_capsule *pill, enum req_location loc) { const struct req_format *fmt; const struct req_msg_field *field;