The patch titled Subject: lib/ubsan.c: mark type_check_kinds with static keyword has been added to the -mm tree. Its filename is lib-ubsanc-mark-type_check_kinds-with-static-keyword.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/lib-ubsanc-mark-type_check_kinds-with-static-keyword.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/lib-ubsanc-mark-type_check_kinds-with-static-keyword.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: Zou Wei <zou_wei@xxxxxxxxxx> Subject: lib/ubsan.c: mark type_check_kinds with static keyword Fix the following sparse warning: lib/ubsan.c:20:12: warning: symbol 'type_check_kinds' was not declared. Should it be static? Link: https://lkml.kernel.org/r/1607602638-79584-1-git-send-email-zou_wei@xxxxxxxxxx Signed-off-by: Zou Wei <zou_wei@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/ubsan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/ubsan.c~lib-ubsanc-mark-type_check_kinds-with-static-keyword +++ a/lib/ubsan.c @@ -17,7 +17,7 @@ #include "ubsan.h" -const char *type_check_kinds[] = { +static const char *type_check_kinds[] = { "load of", "store to", "reference binding to", _ Patches currently in -mm which might be from zou_wei@xxxxxxxxxx are mm-page_alloc-mark-some-symbols-with-static-keyword.patch lib-ubsanc-mark-type_check_kinds-with-static-keyword.patch