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

From: Arnd Bergmann
Date: Fri Oct 02 2015 - 17:59:54 EST


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@xxxxxxxxxx>
>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>

This probably triggered a sparse warning after the unused declaration was
removed in my "staging/lustre: remove lots of dead code".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/