* drivers/bus/ti-sysc.c:2494:13: warning: variable 'error' set but not used
@ 2021-09-28 3:46 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-28 3:46 UTC (permalink / raw)
To: Tony Lindgren; +Cc: kbuild-all, linux-kernel, 0day robot
[-- Attachment #1: Type: text/plain, Size: 2077 bytes --]
tree: https://github.com/0day-ci/linux/commits/Tony-Lindgren/Context-loss-handling-for-ti-sysc/20210922-163700
head: 30ec44eb5c4492c98a87f271e994371489b97617
commit: 61c316a03bfdc3d62583195dbd0f419b253a44cd bus: ti-sysc: Add quirk handling for reinit on context lost
date: 6 days ago
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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://github.com/0day-ci/linux/commit/61c316a03bfdc3d62583195dbd0f419b253a44cd
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tony-Lindgren/Context-loss-handling-for-ti-sysc/20210922-163700
git checkout 61c316a03bfdc3d62583195dbd0f419b253a44cd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
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 >>):
drivers/bus/ti-sysc.c: In function 'sysc_reinit_modules':
>> drivers/bus/ti-sysc.c:2494:13: warning: variable 'error' set but not used [-Wunused-but-set-variable]
2494 | int error = 0;
| ^~~~~
vim +/error +2494 drivers/bus/ti-sysc.c
2487
2488 /* Caller needs to take list_lock if ever used outside of cpu_pm */
2489 static void sysc_reinit_modules(struct sysc_soc_info *soc)
2490 {
2491 struct sysc_module *module;
2492 struct list_head *pos;
2493 struct sysc *ddata;
> 2494 int error = 0;
2495
2496 list_for_each(pos, &sysc_soc->restored_modules) {
2497 module = list_entry(pos, struct sysc_module, node);
2498 ddata = module->ddata;
2499 error = sysc_reinit_module(ddata, ddata->enabled);
2500 }
2501 }
2502
---
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: 54361 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/bus/ti-sysc.c:2494:13: warning: variable 'error' set but not used
@ 2021-09-28 3:46 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-28 3:46 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]
tree: https://github.com/0day-ci/linux/commits/Tony-Lindgren/Context-loss-handling-for-ti-sysc/20210922-163700
head: 30ec44eb5c4492c98a87f271e994371489b97617
commit: 61c316a03bfdc3d62583195dbd0f419b253a44cd bus: ti-sysc: Add quirk handling for reinit on context lost
date: 6 days ago
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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://github.com/0day-ci/linux/commit/61c316a03bfdc3d62583195dbd0f419b253a44cd
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tony-Lindgren/Context-loss-handling-for-ti-sysc/20210922-163700
git checkout 61c316a03bfdc3d62583195dbd0f419b253a44cd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
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 >>):
drivers/bus/ti-sysc.c: In function 'sysc_reinit_modules':
>> drivers/bus/ti-sysc.c:2494:13: warning: variable 'error' set but not used [-Wunused-but-set-variable]
2494 | int error = 0;
| ^~~~~
vim +/error +2494 drivers/bus/ti-sysc.c
2487
2488 /* Caller needs to take list_lock if ever used outside of cpu_pm */
2489 static void sysc_reinit_modules(struct sysc_soc_info *soc)
2490 {
2491 struct sysc_module *module;
2492 struct list_head *pos;
2493 struct sysc *ddata;
> 2494 int error = 0;
2495
2496 list_for_each(pos, &sysc_soc->restored_modules) {
2497 module = list_entry(pos, struct sysc_module, node);
2498 ddata = module->ddata;
2499 error = sysc_reinit_module(ddata, ddata->enabled);
2500 }
2501 }
2502
---
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: 54361 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-28 3:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 3:46 drivers/bus/ti-sysc.c:2494:13: warning: variable 'error' set but not used kernel test robot
2021-09-28 3:46 ` kernel test robot
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.