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

From: Arnd Bergmann
Date: Fri Oct 02 2015 - 18:14:00 EST


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
--
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/