All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:cleanups 9/36] arch/parisc/include/asm/io.h:209:14: error: invalid use of void expression
Date: Tue, 23 Jun 2026 13:14:49 +0800	[thread overview]
Message-ID: <202606231352.5tRFqQNB-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git cleanups
head:   759e4e4e18f43902ea6f66c481a45175490cad0c
commit: 27573170c5c905b0eb87738b380997cc16ab1bb3 [9/36] arcnet: Remove function timing code
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20260623/202606231352.5tRFqQNB-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260623/202606231352.5tRFqQNB-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/202606231352.5tRFqQNB-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/arcnet/com20020.c: In function 'com20020_copy_from_card':
   drivers/net/arcnet/com20020.c:73:9: error: implicit declaration of function 'TIME'; did you mean 'ETIME'? [-Wimplicit-function-declaration]
      73 |         TIME(dev, "insb", count,
         |         ^~~~
         |         ETIME
   In file included from include/linux/io.h:12,
                    from include/linux/irq.h:20,
                    from arch/parisc/include/asm/hardirq.h:13,
                    from include/linux/hardirq.h:11,
                    from include/linux/highmem.h:12,
                    from include/linux/bvec.h:10,
                    from include/linux/skbuff.h:17,
                    from include/net/net_namespace.h:44,
                    from include/linux/netdevice.h:38,
                    from drivers/net/arcnet/com20020.c:37:
>> arch/parisc/include/asm/io.h:209:14: error: invalid use of void expression
     209 | #define insb insb
   drivers/net/arcnet/com20020.c:74:14: note: in expansion of macro 'insb'
      74 |              insb(ioaddr + COM20020_REG_RW_MEMDATA, buf, count));
         |              ^~~~
   drivers/net/arcnet/com20020.c: In function 'com20020_copy_to_card':
   arch/parisc/include/asm/io.h:212:15: error: invalid use of void expression
     212 | #define outsb outsb
   drivers/net/arcnet/com20020.c:88:14: note: in expansion of macro 'outsb'
      88 |              outsb(ioaddr + COM20020_REG_RW_MEMDATA, buf, count));
         |              ^~~~~


vim +209 arch/parisc/include/asm/io.h

^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  199  
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  200  /*
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  201   * String versions of in/out ops:
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  202   */
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  203  extern void insb (unsigned long port, void *dst, unsigned long count);
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  204  extern void insw (unsigned long port, void *dst, unsigned long count);
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  205  extern void insl (unsigned long port, void *dst, unsigned long count);
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  206  extern void outsb (unsigned long port, const void *src, unsigned long count);
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  207  extern void outsw (unsigned long port, const void *src, unsigned long count);
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  208  extern void outsl (unsigned long port, const void *src, unsigned long count);
437b6b35362b20 arch/parisc/include/asm/io.h Linus Walleij  2022-09-04 @209  #define insb insb
437b6b35362b20 arch/parisc/include/asm/io.h Linus Walleij  2022-09-04  210  #define insw insw
437b6b35362b20 arch/parisc/include/asm/io.h Linus Walleij  2022-09-04  211  #define insl insl
437b6b35362b20 arch/parisc/include/asm/io.h Linus Walleij  2022-09-04  212  #define outsb outsb
437b6b35362b20 arch/parisc/include/asm/io.h Linus Walleij  2022-09-04  213  #define outsw outsw
437b6b35362b20 arch/parisc/include/asm/io.h Linus Walleij  2022-09-04  214  #define outsl outsl
^1da177e4c3f41 include/asm-parisc/io.h      Linus Torvalds 2005-04-16  215  

:::::: The code at line 209 was first introduced by commit
:::::: 437b6b35362b206fdf881fe6dea76720eedb6d25 parisc: Use the generic IO helpers

:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Arnd Bergmann <arnd@arndb.de>

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

                 reply	other threads:[~2026-06-23  5:15 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=202606231352.5tRFqQNB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@kernel.org \
    /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.