The patch titled Subject: kernel/fork.c: make max_threads symbol static has been added to the -mm tree. Its filename is kernel-fork-make-max_threads-symbol-static.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kernel-fork-make-max_threads-symbol-static.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kernel-fork-make-max_threads-symbol-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: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> Subject: kernel/fork.c: make max_threads symbol static Fix build warning, kernel/fork.c:125:5: warning: symbol 'max_threads' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20190516015118.140561-1-wangkefeng.wang@xxxxxxxxxx Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/fork.c~kernel-fork-make-max_threads-symbol-static +++ a/kernel/fork.c @@ -122,7 +122,7 @@ unsigned long total_forks; /* Handle normal Linux uptimes. */ int nr_threads; /* The idle threads do not count.. */ -int max_threads; /* tunable limit on nr_threads */ +static int max_threads; /* tunable limit on nr_threads */ DEFINE_PER_CPU(unsigned long, process_counts) = 0; _ Patches currently in -mm which might be from wangkefeng.wang@xxxxxxxxxx are kernel-fork-make-max_threads-symbol-static.patch