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

NeilBrown neilb at suse.de
Tue Oct 1 00:24:33 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20191001/90609b23/attachment.sig>


More information about the lustre-devel mailing list