]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/sysctl.h: fix register_sysctl_mount_point() return type
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 29 Jan 2022 21:40:52 +0000 (13:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 30 Jan 2022 07:56:58 +0000 (09:56 +0200)
commitcd53ba2dc960dc145a5c58406d07da6af6d60b68
tree22a23525c4661a51dc9039b665791165794d7e05
parent9db4a4c33e464ea630bfb8fc060ad2831f4788be
include/linux/sysctl.h: fix register_sysctl_mount_point() return type

The CONFIG_SYSCTL=n stub returns the wrong type.

Fixes: c99c632972f21 ("sysctl: add helper to register a sysctl mount point")
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Cc: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sysctl.h