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

Arnd Bergmann arnd at arndb.de
Fri Oct 2 22:13:33 UTC 2015


On Saturday 03 October 2015 06:10:12 kbuild test robot wrote:
> >> drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c:456:13: error: static declaration of 'nrs_policy_get_info_locked' follows non-static declaration
>     static void nrs_policy_get_info_locked(struct ptlrpc_nrs_policy *policy,
>                 ^
>    In file included from drivers/staging/lustre/lustre/ptlrpc/../include/lustre_lib.h:64:0,
>                     from drivers/staging/lustre/lustre/ptlrpc/../include/obd.h:52,
>                     from drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c:40:
>    drivers/staging/lustre/lustre/ptlrpc/../include/lustre_net.h:1542:6: note: previous declaration of 'nrs_policy_get_info_locked' was here
>     void nrs_policy_get_info_locked(struct ptlrpc_nrs_policy *policy,
>          ^
> 

fwiw, the patch should be fine on staging-testing, just not on mainline at the moment.

	Arnd


More information about the devel mailing list