Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1491498 > unrolled thread

Re: [lustre-devel] [PATCH] staging/lustre/obdclass: add missing header dependencies

Started byJames Simmons <jsimmons@infradead.org>
First post2016-09-26 20:30 +0200
Last post2016-09-26 20:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [lustre-devel] [PATCH] staging/lustre/obdclass: add missing  header dependencies James Simmons <jsimmons@infradead.org> - 2016-09-26 20:30 +0200

#1491498 — Re: [lustre-devel] [PATCH] staging/lustre/obdclass: add missing header dependencies

FromJames Simmons <jsimmons@infradead.org>
Date2016-09-26 20:30 +0200
SubjectRe: [lustre-devel] [PATCH] staging/lustre/obdclass: add missing header dependencies
Message-ID<slIP7-7iA-13@gated-at.bofh.it>
> We get 1 warning when building kernel with W=1:
> drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c:157:5: warning: no previous prototype for 'obd_sysctl_init' [-Wmissing-prototypes]
> 
> In fact, this function is declared in ../../include/obd_class.h,
> so this patch add missing header dependencies.
> 
> Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>

Reviewed-by: James Simmons <jsimmons@infradead.org>

> ---
>  drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c b/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c
> index 8f70dd2..2daa834 100644
> --- a/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c
> +++ b/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c
> @@ -45,6 +45,7 @@
>  
>  #include "../../include/obd_support.h"
>  #include "../../include/lprocfs_status.h"
> +#include "../../include/obd_class.h"
>  
>  struct static_lustre_uintvalue_attr {
>  	struct {
> -- 
> 2.7.4
> 
> _______________________________________________
> lustre-devel mailing list
> lustre-devel@lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-devel-lustre.org
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web