From: Arnd Bergmann Date: Fri, 02 Oct 2015 23:59:32 +0200 Subject: [lustre-devel] [PATCH] staging/lustre: Make nrs_policy_get_info_locked() static In-Reply-To: References: Message-ID: <20303308.pm05kd7Vsy@wuerfel> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lustre-devel@lists.lustre.org On Friday 02 October 2015 23:54:26 Rocco Folino wrote: > This patch fixes the warning generated by sparse: "symbol 'nrs_policy_get_info_locked' was not > declared. Should it be static?" by declaring the function static. > > Signed-off-by: Rocco Folino > Reviewed-by: Arnd Bergmann This probably triggered a sparse warning after the unused declaration was removed in my "staging/lustre: remove lots of dead code".