]> 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)
commit6cb917411e028dcb66ce8f5db1b47361b78d7d3f
tree22a23525c4661a51dc9039b665791165794d7e05
parentf8c7e4ede46fe63ff10000669652648aab09d112
include/linux/sysctl.h: fix register_sysctl_mount_point() return type

The CONFIG_SYSCTL=n stub returns the wrong type.

Fixes: ee9efac48a082 ("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