From: kernel test robot <lkp@intel.com>
To: Niklas Schnelle <schnelle@linux.ibm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Arnd Bergmann <arnd@kernel.org>
Subject: [niks:has_ioport_v6 21/21] drivers/watchdog/sbc8360.c:226:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
Date: Wed, 28 Feb 2024 21:45:12 +0800 [thread overview]
Message-ID: <202402282159.m17UtK2u-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/niks/linux.git has_ioport_v6
head: 54f8a32579d3d5e8fd6bd4f91e101e1004997c8d
commit: 54f8a32579d3d5e8fd6bd4f91e101e1004997c8d [21/21] asm-generic/io.h: Remove I/O port accessors for HAS_IOPORT=n
config: um-randconfig-001-20240227 (https://download.01.org/0day-ci/archive/20240228/202402282159.m17UtK2u-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project edd4aee4dd9b5b98b2576a6f783e4086173d902a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240228/202402282159.m17UtK2u-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/202402282159.m17UtK2u-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/watchdog/sbc8360.c:226:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
226 | outb(wd_margin, SBC8360_BASETIME);
| ^
include/asm-generic/io.h:654:14: note: expanded from macro 'outb'
654 | #define outb _outb
| ^
include/asm-generic/io.h:595:15: note: expanded from macro '_outb'
595 | #define _outb _outb
| ^
drivers/watchdog/sbc8360.c:212:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
212 | outb(0x0A, SBC8360_ENABLE);
| ^
include/asm-generic/io.h:654:14: note: expanded from macro 'outb'
654 | #define outb _outb
| ^
include/asm-generic/io.h:595:15: note: expanded from macro '_outb'
595 | #define _outb _outb
| ^
drivers/watchdog/sbc8360.c:214:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
214 | outb(0x0B, SBC8360_ENABLE);
| ^
include/asm-generic/io.h:654:14: note: expanded from macro 'outb'
654 | #define outb _outb
| ^
include/asm-generic/io.h:595:15: note: expanded from macro '_outb'
595 | #define _outb _outb
| ^
drivers/watchdog/sbc8360.c:217:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
217 | outb(wd_multiplier, SBC8360_ENABLE);
| ^
include/asm-generic/io.h:654:14: note: expanded from macro 'outb'
654 | #define outb _outb
| ^
include/asm-generic/io.h:595:15: note: expanded from macro '_outb'
595 | #define _outb _outb
| ^
>> drivers/watchdog/sbc8360.c:226:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
226 | outb(wd_margin, SBC8360_BASETIME);
| ^
include/asm-generic/io.h:654:14: note: expanded from macro 'outb'
654 | #define outb _outb
| ^
include/asm-generic/io.h:595:15: note: expanded from macro '_outb'
595 | #define _outb _outb
| ^
drivers/watchdog/sbc8360.c:233:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
233 | outb(0, SBC8360_ENABLE);
| ^
include/asm-generic/io.h:654:14: note: expanded from macro 'outb'
654 | #define outb _outb
| ^
include/asm-generic/io.h:595:15: note: expanded from macro '_outb'
595 | #define _outb _outb
| ^
drivers/watchdog/sbc8360.c:233:2: error: call to '_outb' declared with 'error' attribute: outb() requires CONFIG_HAS_IOPORT
include/asm-generic/io.h:654:14: note: expanded from macro 'outb'
654 | #define outb _outb
| ^
include/asm-generic/io.h:595:15: note: expanded from macro '_outb'
595 | #define _outb _outb
| ^
7 errors generated.
vim +226 drivers/watchdog/sbc8360.c
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 221
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 222 /* Kernel pings watchdog */
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 223 static void sbc8360_ping(void)
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 224 {
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 225 /* Write the base timer register */
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 @226 outb(wd_margin, SBC8360_BASETIME);
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 227 }
3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan 2005-09-01 228
:::::: The code at line 226 was first introduced by commit
:::::: 3809ad384af43ad883f47ee22a6faa33cedd61bc [WATCHDOG] New SBC8360 watchdog driver (revised)
:::::: TO: Ian E. Morgan <imorgan@webcon.ca>
:::::: CC: Wim Van Sebroeck <wim@iguana.be>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-02-28 13:46 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=202402282159.m17UtK2u-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=schnelle@linux.ibm.com \
/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.