From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Rich Felker <dalias@libc.org>
Subject: arch/sh/boards/mach-landisk/setup.c:86:9: error: implicit declaration of function '__set_io_port_base'
Date: Sun, 24 Sep 2023 00:37:22 +0800 [thread overview]
Message-ID: <202309240004.TQItBMlc-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d90b0276af8f25a0b8ae081a30d1b2a61263393b
commit: 0c64a0dce51faa9c706fdf1f957d6f19878f4b81 sh: landisk: Add missing initialization of sh_io_port_base
date: 3 years, 1 month ago
config: sh-randconfig-r021-20220916 (https://download.01.org/0day-ci/archive/20230924/202309240004.TQItBMlc-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230924/202309240004.TQItBMlc-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/202309240004.TQItBMlc-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/sh/boards/mach-landisk/setup.c: In function 'landisk_setup':
>> arch/sh/boards/mach-landisk/setup.c:86:9: error: implicit declaration of function '__set_io_port_base' [-Werror=implicit-function-declaration]
86 | __set_io_port_base(0);
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/__set_io_port_base +86 arch/sh/boards/mach-landisk/setup.c
82
83 static void __init landisk_setup(char **cmdline_p)
84 {
85 /* I/O port identity mapping */
> 86 __set_io_port_base(0);
87
88 /* LED ON */
89 __raw_writeb(__raw_readb(PA_LED) | 0x03, PA_LED);
90
91 printk(KERN_INFO "I-O DATA DEVICE, INC. \"LANDISK Series\" support.\n");
92 pm_power_off = landisk_power_off;
93 }
94
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-09-23 16:37 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=202309240004.TQItBMlc-lkp@intel.com \
--to=lkp@intel.com \
--cc=dalias@libc.org \
--cc=geert+renesas@glider.be \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox