* [sverdlin:ep93xx-snd-wip 16/54] drivers/power/reset/ep93xx-restart.c:22:9: error: implicit declaration of function 'ep93xx_devcfg_set_clear'
@ 2023-02-13 3:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-13 3:51 UTC (permalink / raw)
To: Nikita Shubin; +Cc: oe-kbuild-all
tree: https://github.com/sverdlin/linux ep93xx-snd-wip
head: f6629f68e76810ddf6df2e304cd0750c43883026
commit: a58e3cf6da4cbcf3ad2c679ded3f1b81a33f9c1e [16/54] power: reset: Add a driver for the ep93xx reset
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230213/202302131137.bQ1bfdyh-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 12.1.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/sverdlin/linux/commit/a58e3cf6da4cbcf3ad2c679ded3f1b81a33f9c1e
git remote add sverdlin https://github.com/sverdlin/linux
git fetch --no-tags sverdlin ep93xx-snd-wip
git checkout a58e3cf6da4cbcf3ad2c679ded3f1b81a33f9c1e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302131137.bQ1bfdyh-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/power/reset/ep93xx-restart.c: In function 'ep93xx_restart_handle':
>> drivers/power/reset/ep93xx-restart.c:22:9: error: implicit declaration of function 'ep93xx_devcfg_set_clear' [-Werror=implicit-function-declaration]
22 | ep93xx_devcfg_set_clear(EP93XX_SYSCON_DEVCFG_SWRST, 0x00);
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/ep93xx_devcfg_set_clear +22 drivers/power/reset/ep93xx-restart.c
17
18 static int ep93xx_restart_handle(struct notifier_block *this,
19 unsigned long mode, void *cmd)
20 {
21 /* Issue the reboot */
> 22 ep93xx_devcfg_set_clear(EP93XX_SYSCON_DEVCFG_SWRST, 0x00);
23 ep93xx_devcfg_set_clear(0x00, EP93XX_SYSCON_DEVCFG_SWRST);
24
25 mdelay(1000);
26
27 pr_emerg("Unable to restart system\n");
28 return NOTIFY_DONE;
29 }
30
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-13 3:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 3:51 [sverdlin:ep93xx-snd-wip 16/54] drivers/power/reset/ep93xx-restart.c:22:9: error: implicit declaration of function 'ep93xx_devcfg_set_clear' 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).