]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/fork.c: make max_threads symbol static
authorKefeng Wang <wangkefeng.wang@huawei.com>
Sat, 1 Jun 2019 05:30:12 +0000 (22:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 1 Jun 2019 22:51:31 +0000 (15:51 -0700)
commit7ac96017b8cbb4e94b668c91e02be856f1af4519
tree96ea79ee08f859f44e3baa6ae95fcec9e858b307
parent02f41d0cdd9541e0da3290b857a438486179b169
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@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c