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

The CONFIG_SYSCTL=n stub returns the wrong type.

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