The patch titled Subject: lib/test_lockup.c: make test_inode static has been added to the -mm tree. Its filename is lib-test_lockupc-make-test_inode-static.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/lib-test_lockupc-make-test_inode-static.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/lib-test_lockupc-make-test_inode-static.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jason Yan <yanaijie@xxxxxxxxxx> Subject: lib/test_lockup.c: make test_inode static Fix the following sparse warning: lib/test_lockup.c:145:14: warning: symbol 'test_inode' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20200417074021.46411-1-yanaijie@xxxxxxxxxx Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/test_lockup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/test_lockup.c~lib-test_lockupc-make-test_inode-static +++ a/lib/test_lockup.c @@ -142,7 +142,7 @@ module_param(reallocate_pages, bool, 040 MODULE_PARM_DESC(reallocate_pages, "free and allocate pages between iterations"); struct file *test_file; -struct inode *test_inode; +static struct inode *test_inode; static char test_file_path[256]; module_param_string(file_path, test_file_path, sizeof(test_file_path), 0400); MODULE_PARM_DESC(file_path, "file path to test"); _ Patches currently in -mm which might be from yanaijie@xxxxxxxxxx are userc-make-uidhash_table-static.patch lib-test_lockupc-make-test_inode-static.patch