[lustre-devel] [PATCH 001/151] lnet: fix needed headers for lnet headers

James Simmons jsimmons at infradead.org
Tue Oct 1 10:52:16 PDT 2019


> On Mon, Sep 30 2019, James Simmons wrote:
> 
> > The linux kernel now has a sanity check for the global headers,
> > activated by  CONFIG_HEADER_TEST=y and CONFIG_KERNEL_HEADER_TEST=y.
> > Some LNet headers are missing a few headers to allow them to build
> > properly.
> >
> > Signed-off-by: James Simmons <jsimmons at infradead.org>
> > Signed-off-by: NeilBrown <neilb at suse.com>
> 
> I've added the following to this patch
> 
> diff --git a/include/linux/libcfs/libcfs_debug.h b/include/linux/libcfs/libcfs_debug.h
> index 911fd35b81b5..2ae67c67faa7 100644
> --- a/include/linux/libcfs/libcfs_debug.h
> +++ b/include/linux/libcfs/libcfs_debug.h
> @@ -56,6 +56,8 @@ extern unsigned int libcfs_console_backoff;
>  extern unsigned int libcfs_debug_binary;
>  extern char libcfs_debug_file_path_arr[PATH_MAX];
>  
> +struct task_struct;
> +
>  int libcfs_debug_mask2str(char *str, int size, int mask, int is_subsys);
>  int libcfs_debug_str2mask(int *mask, const char *str, int is_subsys);
>  void libcfs_debug_dumpstack(struct task_struct *tsk);
> 
> 
> NeilBrown

Acked-by: James Simmons <jsimmons at infradead.org> 


More information about the lustre-devel mailing list