All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nikita Shubin <nikita.shubin@maquefel.me>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [sverdlin:ep93xx-snd-wip 16/48] drivers/power/reset/ep93xx-restart.c:22:9: error: implicit declaration of function 'ep93xx_devcfg_set_clear'
Date: Thu, 23 Mar 2023 13:42:54 +0800	[thread overview]
Message-ID: <202303231304.HohbBA4z-lkp@intel.com> (raw)

tree:   https://github.com/sverdlin/linux ep93xx-snd-wip
head:   ba6048c19f4e119e9d76024c66e205a7f6750063
commit: a436b8a7d7370b4ef5a7d33015f21e684d387454 [16/48] power: reset: Add a driver for the ep93xx reset
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20230323/202303231304.HohbBA4z-lkp@intel.com/config)
compiler: powerpc-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/a436b8a7d7370b4ef5a7d33015f21e684d387454
        git remote add sverdlin https://github.com/sverdlin/linux
        git fetch --no-tags sverdlin ep93xx-snd-wip
        git checkout a436b8a7d7370b4ef5a7d33015f21e684d387454
        # 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=powerpc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/power/reset/

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/202303231304.HohbBA4z-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

                 reply	other threads:[~2023-03-23  5:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202303231304.HohbBA4z-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=nikita.shubin@maquefel.me \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.