* [mcgrof-next:20211123-sysctl-cleanups 20/41] include/linux/sysctl.h:228:30: error: 'register_sysctl_mount_point' defined but not used
@ 2021-11-24 4:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-24 4:19 UTC (permalink / raw)
To: Luis Chamberlain; +Cc: kbuild-all, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211123-sysctl-cleanups
head: c18add41d859b4feec081eab6cfd624a5642973d
commit: 06d33569add5d71725a727d8da80ce480b06fdec [20/41] sysctl: add helper to register a sysctl mount point
config: nds32-randconfig-r006-20211123 (https://download.01.org/0day-ci/archive/20211124/202111241256.mDFmnx1e-lkp@intel.com/config.gz)
compiler: nds32le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=06d33569add5d71725a727d8da80ce480b06fdec
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20211123-sysctl-cleanups
git checkout 06d33569add5d71725a727d8da80ce480b06fdec
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/umh.h:9,
from include/linux/kmod.h:9,
from include/linux/module.h:17,
from lib/test_bitops.c:9:
include/linux/sysctl.h: In function 'register_sysctl_mount_point':
include/linux/sysctl.h:231:1: error: expected ';' before '}' token
231 | }
| ^
At top level:
>> include/linux/sysctl.h:228:30: error: 'register_sysctl_mount_point' defined but not used [-Werror=unused-function]
228 | static struct sysctl_header *register_sysctl_mount_point(const char *path)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/register_sysctl_mount_point +228 include/linux/sysctl.h
227
> 228 static struct sysctl_header *register_sysctl_mount_point(const char *path)
229 {
230 return NULL
> 231 }
232
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-24 4:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 4:19 [mcgrof-next:20211123-sysctl-cleanups 20/41] include/linux/sysctl.h:228:30: error: 'register_sysctl_mount_point' defined but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).