All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:cleanups 9/36] arch/parisc/include/asm/io.h:209:14: error: invalid use of void expression
@ 2026-06-23  5:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-23  5:14 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: oe-kbuild-all

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

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

only message in thread, other threads:[~2026-06-23  5:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23  5:14 [tglx-devel:cleanups 9/36] arch/parisc/include/asm/io.h:209:14: error: invalid use of void expression 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.