* [mcgrof-next:20211117-sysctl-cleanups-all-set-04 22/36] kernel/printk/sysctl.c:82:13: warning: no previous prototype for 'printk_sysctl_init'
@ 2021-11-18 12:28 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-18 12:28 UTC (permalink / raw)
To: Xiaoming Ni; +Cc: kbuild-all, linux-kernel, Luis Chamberlain
[-- Attachment #1: Type: text/plain, Size: 2424 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211117-sysctl-cleanups-all-set-04
head: 3559bb8939dd93c96215ab179d868c5fdc167335
commit: 99f50ec2e9ced923150fa9f7d6d9a5f767cba59c [22/36] printk: move printk sysctl to printk/sysctl.c
config: microblaze-randconfig-r036-20211118 (attached as .config)
compiler: microblaze-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=99f50ec2e9ced923150fa9f7d6d9a5f767cba59c
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20211117-sysctl-cleanups-all-set-04
git checkout 99f50ec2e9ced923150fa9f7d6d9a5f767cba59c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
kernel/printk/sysctl.c:47:36: error: 'printk_delay_msec' undeclared here (not in a function)
47 | .data = &printk_delay_msec,
| ^~~~~~~~~~~~~~~~~
kernel/printk/sysctl.c:59:35: error: 'devkmsg_sysctl_set_loglvl' undeclared here (not in a function)
59 | .proc_handler = devkmsg_sysctl_set_loglvl,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/printk/sysctl.c:63:36: error: 'dmesg_restrict' undeclared here (not in a function)
63 | .data = &dmesg_restrict,
| ^~~~~~~~~~~~~~
>> kernel/printk/sysctl.c:82:13: warning: no previous prototype for 'printk_sysctl_init' [-Wmissing-prototypes]
82 | void __init printk_sysctl_init(void)
| ^~~~~~~~~~~~~~~~~~
vim +/printk_sysctl_init +82 kernel/printk/sysctl.c
81
> 82 void __init printk_sysctl_init(void)
83 {
84 register_sysctl_init("kernel", printk_sysctls, "printk");
85 }
86
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30166 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [mcgrof-next:20211117-sysctl-cleanups-all-set-04 22/36] kernel/printk/sysctl.c:82:13: warning: no previous prototype for 'printk_sysctl_init'
@ 2021-11-18 12:28 ` kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-18 12:28 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2472 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211117-sysctl-cleanups-all-set-04
head: 3559bb8939dd93c96215ab179d868c5fdc167335
commit: 99f50ec2e9ced923150fa9f7d6d9a5f767cba59c [22/36] printk: move printk sysctl to printk/sysctl.c
config: microblaze-randconfig-r036-20211118 (attached as .config)
compiler: microblaze-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=99f50ec2e9ced923150fa9f7d6d9a5f767cba59c
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20211117-sysctl-cleanups-all-set-04
git checkout 99f50ec2e9ced923150fa9f7d6d9a5f767cba59c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
kernel/printk/sysctl.c:47:36: error: 'printk_delay_msec' undeclared here (not in a function)
47 | .data = &printk_delay_msec,
| ^~~~~~~~~~~~~~~~~
kernel/printk/sysctl.c:59:35: error: 'devkmsg_sysctl_set_loglvl' undeclared here (not in a function)
59 | .proc_handler = devkmsg_sysctl_set_loglvl,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/printk/sysctl.c:63:36: error: 'dmesg_restrict' undeclared here (not in a function)
63 | .data = &dmesg_restrict,
| ^~~~~~~~~~~~~~
>> kernel/printk/sysctl.c:82:13: warning: no previous prototype for 'printk_sysctl_init' [-Wmissing-prototypes]
82 | void __init printk_sysctl_init(void)
| ^~~~~~~~~~~~~~~~~~
vim +/printk_sysctl_init +82 kernel/printk/sysctl.c
81
> 82 void __init printk_sysctl_init(void)
83 {
84 register_sysctl_init("kernel", printk_sysctls, "printk");
85 }
86
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30166 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [mcgrof-next:20211117-sysctl-cleanups-all-set-04 22/36] kernel/printk/sysctl.c:82:13: warning: no previous prototype for 'printk_sysctl_init'
2021-11-18 12:28 ` kernel test robot
@ 2021-11-18 17:14 ` Luis Chamberlain
-1 siblings, 0 replies; 4+ messages in thread
From: Luis Chamberlain @ 2021-11-18 17:14 UTC (permalink / raw)
To: kernel test robot; +Cc: Xiaoming Ni, kbuild-all, linux-kernel
On Thu, Nov 18, 2021 at 08:28:35PM +0800, kernel test robot wrote:
> > 82 void __init printk_sysctl_init(void)
When PRINTK is not set this pukes. I fixed it, thanks!
Luis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [mcgrof-next:20211117-sysctl-cleanups-all-set-04 22/36] kernel/printk/sysctl.c:82:13: warning: no previous prototype for 'printk_sysctl_init'
@ 2021-11-18 17:14 ` Luis Chamberlain
0 siblings, 0 replies; 4+ messages in thread
From: Luis Chamberlain @ 2021-11-18 17:14 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
On Thu, Nov 18, 2021 at 08:28:35PM +0800, kernel test robot wrote:
> > 82 void __init printk_sysctl_init(void)
When PRINTK is not set this pukes. I fixed it, thanks!
Luis
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-18 17:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 12:28 [mcgrof-next:20211117-sysctl-cleanups-all-set-04 22/36] kernel/printk/sysctl.c:82:13: warning: no previous prototype for 'printk_sysctl_init' kernel test robot
2021-11-18 12:28 ` kernel test robot
2021-11-18 17:14 ` Luis Chamberlain
2021-11-18 17:14 ` Luis Chamberlain
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.