ipc/shm.c: make compat_ksys_shmctl() static
authorJason Yan <yanaijie@huawei.com>
Tue, 7 Apr 2020 03:12:56 +0000 (20:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2020 17:43:45 +0000 (10:43 -0700)
commit1cd377baa91844b9f87a2b72eabf7ff783946b5e
treef2b8a3a4d4c7dc4e9dfca98db75a361ef8f070e9
parent43afe4d3661b04915aa357c5ab0f2a08718af9fd
ipc/shm.c: make compat_ksys_shmctl() static

Fix the following sparse warning:

ipc/shm.c:1335:6: warning: symbol 'compat_ksys_shmctl' was not declared.
Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200403063933.24785-1-yanaijie@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/shm.c