Re: [PATCH] lustre: obdclass: fix sparse warning

From: Greg KH
Date: Sun Oct 25 2015 - 04:28:58 EST


On Sat, Oct 24, 2015 at 12:58:20PM +0530, Paul Davies C wrote:
> This patch fixes the following warnings given by the sparse:
>
> drivers/staging/lustre/lustre/obdclass/linux/linux-module.c:424:5: warning: symbol 'class_procfs_init' was not declared. Should it be static?
> drivers/staging/lustre/lustre/obdclass/linux/linux-module.c:460:5: warning: symbol 'class_procfs_clean' was not declared. Should it be static?
> drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c:161:5: warning: symbol 'obd_sysctl_init' was not declared. Should it be static?
> drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c:166:6: warning: symbol 'obd_sysctl_clean' was not declared. Should it be static?
>
> Signed-off-by: Paul Davies C <pauldaviesc@xxxxxxxxx>
> ---
> drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 4 ++--
> drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)

This doesn't apply to my staging-testing branch of staging.git.

Please rebase and resend, if it is still needed.

thanks,

greg k-h
--
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/