* kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
@ 2023-10-11 1:52 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-10-11 1:52 UTC (permalink / raw)
To: Matti Vaittinen, Matti Vaittinen; +Cc: oe-kbuild-all, linux-kernel, Mark Brown
Hi Matti,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1c8b86a3799f7e5be903c3f49fcdaee29fd385b5
commit: dfa19b11385d4cf8f0242fd93e2073e25183c331 reboot: Add hardware protection power-off
date: 2 years, 4 months ago
config: csky-allnoconfig (https://download.01.org/0day-ci/archive/20231011/202310110952.0PSEypq4-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231011/202310110952.0PSEypq4-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310110952.0PSEypq4-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/reboot.c:215: warning: Function parameter or member 'cmd' not described in 'do_kernel_restart'
>> kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
vim +559 kernel/reboot.c
548
549 static DECLARE_DELAYED_WORK(hw_failure_emergency_poweroff_work,
550 hw_failure_emergency_poweroff_func);
551
552 /**
553 * hw_failure_emergency_poweroff - Trigger an emergency system poweroff
554 *
555 * This may be called from any critical situation to trigger a system shutdown
556 * after a given period of time. If time is negative this is not scheduled.
557 */
558 static void hw_failure_emergency_poweroff(int poweroff_delay_ms)
> 559 {
560 if (poweroff_delay_ms <= 0)
561 return;
562 schedule_delayed_work(&hw_failure_emergency_poweroff_work,
563 msecs_to_jiffies(poweroff_delay_ms));
564 }
565
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
@ 2023-11-19 8:28 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-11-19 8:28 UTC (permalink / raw)
To: Matti Vaittinen, Matti Vaittinen; +Cc: oe-kbuild-all, linux-kernel, Mark Brown
Hi Matti,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 037266a5f7239ead1530266f7d7af153d2a867fa
commit: dfa19b11385d4cf8f0242fd93e2073e25183c331 reboot: Add hardware protection power-off
date: 2 years, 5 months ago
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20231119/202311191617.LlfQ8ae6-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231119/202311191617.LlfQ8ae6-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311191617.LlfQ8ae6-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/reboot.c:215: warning: Function parameter or member 'cmd' not described in 'do_kernel_restart'
>> kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
vim +559 kernel/reboot.c
548
549 static DECLARE_DELAYED_WORK(hw_failure_emergency_poweroff_work,
550 hw_failure_emergency_poweroff_func);
551
552 /**
553 * hw_failure_emergency_poweroff - Trigger an emergency system poweroff
554 *
555 * This may be called from any critical situation to trigger a system shutdown
556 * after a given period of time. If time is negative this is not scheduled.
557 */
558 static void hw_failure_emergency_poweroff(int poweroff_delay_ms)
> 559 {
560 if (poweroff_delay_ms <= 0)
561 return;
562 schedule_delayed_work(&hw_failure_emergency_poweroff_work,
563 msecs_to_jiffies(poweroff_delay_ms));
564 }
565
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
@ 2023-11-12 5:40 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-11-12 5:40 UTC (permalink / raw)
To: Matti Vaittinen, Matti Vaittinen; +Cc: oe-kbuild-all, linux-kernel, Mark Brown
Hi Matti,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1b907d0507354b74a4f2c286380cd6059af79248
commit: dfa19b11385d4cf8f0242fd93e2073e25183c331 reboot: Add hardware protection power-off
date: 2 years, 5 months ago
config: i386-allnoconfig (https://download.01.org/0day-ci/archive/20231112/202311121307.FDXuYvzi-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231112/202311121307.FDXuYvzi-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311121307.FDXuYvzi-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/reboot.c:215: warning: Function parameter or member 'cmd' not described in 'do_kernel_restart'
>> kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
vim +559 kernel/reboot.c
548
549 static DECLARE_DELAYED_WORK(hw_failure_emergency_poweroff_work,
550 hw_failure_emergency_poweroff_func);
551
552 /**
553 * hw_failure_emergency_poweroff - Trigger an emergency system poweroff
554 *
555 * This may be called from any critical situation to trigger a system shutdown
556 * after a given period of time. If time is negative this is not scheduled.
557 */
558 static void hw_failure_emergency_poweroff(int poweroff_delay_ms)
> 559 {
560 if (poweroff_delay_ms <= 0)
561 return;
562 schedule_delayed_work(&hw_failure_emergency_poweroff_work,
563 msecs_to_jiffies(poweroff_delay_ms));
564 }
565
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
@ 2023-09-04 0:57 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-09-04 0:57 UTC (permalink / raw)
To: Matti Vaittinen, Matti Vaittinen
Cc: llvm, oe-kbuild-all, linux-kernel, Mark Brown
[-- Attachment #1: Type: text/plain, Size: 2637 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 92901222f83d988617aee37680cb29e1a743b5e4
commit: dfa19b11385d4cf8f0242fd93e2073e25183c331 reboot: Add hardware protection power-off
date: 2 years, 2 months ago
:::::: branch date: 21 hours ago
:::::: commit date: 2 years, 2 months ago
config: i386-allnoconfig (attached as .config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (attached as reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309040349.HLOK1O5I-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/reboot.c:215: warning: Function parameter or member 'cmd' not described in 'do_kernel_restart'
>> kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff'
vim +559 kernel/reboot.c
dfa19b11385d4cf Matti Vaittinen 2021-06-03 548
dfa19b11385d4cf Matti Vaittinen 2021-06-03 549 static DECLARE_DELAYED_WORK(hw_failure_emergency_poweroff_work,
dfa19b11385d4cf Matti Vaittinen 2021-06-03 550 hw_failure_emergency_poweroff_func);
dfa19b11385d4cf Matti Vaittinen 2021-06-03 551
dfa19b11385d4cf Matti Vaittinen 2021-06-03 552 /**
dfa19b11385d4cf Matti Vaittinen 2021-06-03 553 * hw_failure_emergency_poweroff - Trigger an emergency system poweroff
dfa19b11385d4cf Matti Vaittinen 2021-06-03 554 *
dfa19b11385d4cf Matti Vaittinen 2021-06-03 555 * This may be called from any critical situation to trigger a system shutdown
dfa19b11385d4cf Matti Vaittinen 2021-06-03 556 * after a given period of time. If time is negative this is not scheduled.
dfa19b11385d4cf Matti Vaittinen 2021-06-03 557 */
dfa19b11385d4cf Matti Vaittinen 2021-06-03 558 static void hw_failure_emergency_poweroff(int poweroff_delay_ms)
dfa19b11385d4cf Matti Vaittinen 2021-06-03 @559 {
dfa19b11385d4cf Matti Vaittinen 2021-06-03 560 if (poweroff_delay_ms <= 0)
dfa19b11385d4cf Matti Vaittinen 2021-06-03 561 return;
dfa19b11385d4cf Matti Vaittinen 2021-06-03 562 schedule_delayed_work(&hw_failure_emergency_poweroff_work,
dfa19b11385d4cf Matti Vaittinen 2021-06-03 563 msecs_to_jiffies(poweroff_delay_ms));
dfa19b11385d4cf Matti Vaittinen 2021-06-03 564 }
dfa19b11385d4cf Matti Vaittinen 2021-06-03 565
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8755 bytes --]
[-- Attachment #3: reproduce --]
[-- Type: text/plain, Size: 837 bytes --]
reproduce (this is a W=1 build):
mkdir -p ~/bin
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/torvalds/linux.git/commit/?id=dfa19b11385d4cf8f0242fd93e2073e25183c331
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout dfa19b11385d4cf8f0242fd93e2073e25183c331
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-19 8:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-11 1:52 kernel/reboot.c:559: warning: Function parameter or member 'poweroff_delay_ms' not described in 'hw_failure_emergency_poweroff' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-11-19 8:28 kernel test robot
2023-11-12 5:40 kernel test robot
2023-09-04 0:57 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
all inboxes | Powered by JetHome®