[lustre-devel] [PATCH] staging/lustre: Make nrs_policy_get_info_locked() static

Arnd Bergmann arnd at arndb.de
Fri Oct 2 14:59:32 PDT 2015


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 <rocco at devzen.net>
> 

Reviewed-by: Arnd Bergmann <arnd at arndb.de>

This probably triggered a sparse warning after the unused declaration was
removed in my "staging/lustre: remove lots of dead code".


More information about the lustre-devel mailing list