All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2024-02-28 13:45 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-28 13:45 UTC (permalink / raw)
  To: Niklas Schnelle; +Cc: llvm, oe-kbuild-all, Arnd Bergmann

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-28 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-28 13:45 [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 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.