All of lore.kernel.org
 help / color / mirror / Atom feed
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
Subject: Re: [PATCH v8 5/5] asm-generic/io.h: Remove I/O port accessors for HAS_IOPORT=n
Date: Sat, 12 Oct 2024 09:11:52 +0800	[thread overview]
Message-ID: <202410120803.PveI3ZXV-lkp@intel.com> (raw)
In-Reply-To: <20241008-b4-has_ioport-v8-5-793e68aeadda@linux.ibm.com>

Hi Niklas,

kernel test robot noticed the following build errors:

[auto build test ERROR on 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b]

url:    https://github.com/intel-lab-lkp/linux/commits/Niklas-Schnelle/hexagon-Don-t-select-GENERIC_IOMAP-without-HAS_IOPORT-support/20241008-204236
base:   8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b
patch link:    https://lore.kernel.org/r/20241008-b4-has_ioport-v8-5-793e68aeadda%40linux.ibm.com
patch subject: [PATCH v8 5/5] asm-generic/io.h: Remove I/O port accessors for HAS_IOPORT=n
config: um-randconfig-002-20241011 (https://download.01.org/0day-ci/archive/20241012/202410120803.PveI3ZXV-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 70e0a7e7e6a8541bcc46908c592eed561850e416)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241012/202410120803.PveI3ZXV-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/202410120803.PveI3ZXV-lkp@intel.com/

All errors (new ones prefixed by >>):

>> 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:655:14: note: expanded from macro 'outb'
     655 | #define outb _outb
         |              ^
   include/asm-generic/io.h:596:15: note: expanded from macro '_outb'
     596 | #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:655:14: note: expanded from macro 'outb'
     655 | #define outb _outb
         |              ^
   include/asm-generic/io.h:596:15: note: expanded from macro '_outb'
     596 | #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:655:14: note: expanded from macro 'outb'
     655 | #define outb _outb
         |              ^
   include/asm-generic/io.h:596:15: note: expanded from macro '_outb'
     596 | #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:655:14: note: expanded from macro 'outb'
     655 | #define outb _outb
         |              ^
   include/asm-generic/io.h:596:15: note: expanded from macro '_outb'
     596 | #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:655:14: note: expanded from macro 'outb'
     655 | #define outb _outb
         |              ^
   include/asm-generic/io.h:596:15: note: expanded from macro '_outb'
     596 | #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:655:14: note: expanded from macro 'outb'
     655 | #define outb _outb
         |              ^
   include/asm-generic/io.h:596:15: note: expanded from macro '_outb'
     596 | #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:655:14: note: expanded from macro 'outb'
     655 | #define outb _outb
         |              ^
   include/asm-generic/io.h:596:15: note: expanded from macro '_outb'
     596 | #define _outb _outb
         |               ^
   7 errors generated.


vim +233 drivers/watchdog/sbc8360.c

3809ad384af43a drivers/char/watchdog/sbc8360.c Ian E. Morgan    2005-09-01  228  
12b7a1523eda9c drivers/watchdog/sbc8360.c      Wim Van Sebroeck 2008-07-18  229  /* stop watchdog */
12b7a1523eda9c drivers/watchdog/sbc8360.c      Wim Van Sebroeck 2008-07-18  230  static void sbc8360_stop(void)
12b7a1523eda9c drivers/watchdog/sbc8360.c      Wim Van Sebroeck 2008-07-18  231  {
12b7a1523eda9c drivers/watchdog/sbc8360.c      Wim Van Sebroeck 2008-07-18  232  	/* De-activate the watchdog */
12b7a1523eda9c drivers/watchdog/sbc8360.c      Wim Van Sebroeck 2008-07-18 @233  	outb(0, SBC8360_ENABLE);
12b7a1523eda9c drivers/watchdog/sbc8360.c      Wim Van Sebroeck 2008-07-18  234  }
12b7a1523eda9c drivers/watchdog/sbc8360.c      Wim Van Sebroeck 2008-07-18  235  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2024-10-12  1:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-08 12:39 [PATCH v8 0/5] treewide: Remove I/O port accessors for HAS_IOPORT=n Niklas Schnelle
2024-10-08 12:39 ` [PATCH v8 1/5] hexagon: Don't select GENERIC_IOMAP without HAS_IOPORT support Niklas Schnelle
2024-10-08 12:39 ` [PATCH v8 2/5] Bluetooth: add HAS_IOPORT dependencies Niklas Schnelle
2024-10-08 12:39 ` [PATCH v8 3/5] drm: handle " Niklas Schnelle
2024-10-21  7:52   ` Thomas Zimmermann
2024-10-21 10:08     ` Arnd Bergmann
2024-10-21 10:58       ` Thomas Zimmermann
2024-10-21 11:01         ` Thomas Zimmermann
2024-10-21 11:18         ` Niklas Schnelle
2024-10-24  9:30           ` Niklas Schnelle
2024-10-21 11:21         ` Arnd Bergmann
2024-10-08 12:39 ` [PATCH v8 4/5] tty: serial: " Niklas Schnelle
2024-10-11  6:09   ` Greg Kroah-Hartman
2024-10-13 14:53   ` Maciej W. Rozycki
2024-10-08 12:39 ` [PATCH v8 5/5] asm-generic/io.h: Remove I/O port accessors for HAS_IOPORT=n Niklas Schnelle
2024-10-12  1:11   ` kernel test robot [this message]
2024-10-14  8:44     ` Niklas Schnelle
2024-10-14 10:57       ` Arnd Bergmann
2024-10-08 13:03 ` ✗ CI.Patch_applied: failure for treewide: Remove I/O port accessors for HAS_IOPORT=n (rev3) Patchwork

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=202410120803.PveI3ZXV-lkp@intel.com \
    --to=lkp@intel.com \
    --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.