mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/m68k/include/asm/raw_io.h:39: warning: "__raw_readb" redefined
@ 2025-01-07  8:57 kernel test robot
  2025-01-07 10:01 ` Thomas Zimmermann
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-01-07  8:57 UTC (permalink / raw)
  To: Thomas Zimmermann; +Cc: oe-kbuild-all, linux-kernel, Javier Martinez Canillas

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fbfd64d25c7af3b8695201ebc85efe90be28c5a3
commit: 7283f862bd991c8657e9bf1c02db772fcf018f13 drm: Implement DRM aperture helpers under video/
date:   2 years, 6 months ago
config: m68k-randconfig-m031-20211009 (https://download.01.org/0day-ci/archive/20250107/202501071629.DNEswlm8-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250107/202501071629.DNEswlm8-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/202501071629.DNEswlm8-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/m68k/include/asm/vga.h:12,
                    from include/video/vga.h:22,
                    from include/linux/vgaarb.h:34,
                    from drivers/video/aperture.c:12:
>> arch/m68k/include/asm/raw_io.h:39: warning: "__raw_readb" redefined
      39 | #define __raw_readb in_8
         | 
   In file included from arch/m68k/include/asm/io.h:6,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from ./arch/m68k/include/generated/asm/hardirq.h:1,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from include/linux/trace_recursion.h:5,
                    from include/linux/ftrace.h:10,
                    from include/linux/kprobes.h:28,
                    from include/linux/kgdb.h:19,
                    from include/linux/fb.h:6,
                    from drivers/video/aperture.c:5:
   arch/m68k/include/asm/io_no.h:16: note: this is the location of the previous definition
      16 | #define __raw_readb(addr) \
         | 
>> arch/m68k/include/asm/raw_io.h:40: warning: "__raw_readw" redefined
      40 | #define __raw_readw in_be16
         | 
   arch/m68k/include/asm/io_no.h:18: note: this is the location of the previous definition
      18 | #define __raw_readw(addr) \
         | 
>> arch/m68k/include/asm/raw_io.h:41: warning: "__raw_readl" redefined
      41 | #define __raw_readl in_be32
         | 
   arch/m68k/include/asm/io_no.h:20: note: this is the location of the previous definition
      20 | #define __raw_readl(addr) \
         | 
>> arch/m68k/include/asm/raw_io.h:46: warning: "__raw_writeb" redefined
      46 | #define __raw_writeb(val,addr) out_8((addr),(val))
         | 
   arch/m68k/include/asm/io_no.h:23: note: this is the location of the previous definition
      23 | #define __raw_writeb(b, addr) (void)((*(__force volatile u8 *) (addr)) = (b))
         | 
>> arch/m68k/include/asm/raw_io.h:47: warning: "__raw_writew" redefined
      47 | #define __raw_writew(val,addr) out_be16((addr),(val))
         | 
   arch/m68k/include/asm/io_no.h:24: note: this is the location of the previous definition
      24 | #define __raw_writew(b, addr) (void)((*(__force volatile u16 *) (addr)) = (b))
         | 
>> arch/m68k/include/asm/raw_io.h:48: warning: "__raw_writel" redefined
      48 | #define __raw_writel(val,addr) out_be32((addr),(val))
         | 
   arch/m68k/include/asm/io_no.h:25: note: this is the location of the previous definition
      25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
         | 


vim +/__raw_readb +39 arch/m68k/include/asm/raw_io.h

^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  35  
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  36  #define raw_inb in_8
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  37  #define raw_inw in_be16
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  38  #define raw_inl in_be32
f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @39  #define __raw_readb in_8
f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @40  #define __raw_readw in_be16
f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @41  #define __raw_readl in_be32
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  42  
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  43  #define raw_outb(val,port) out_8((port),(val))
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  44  #define raw_outw(val,port) out_be16((port),(val))
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  45  #define raw_outl(val,port) out_be32((port),(val))
f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @46  #define __raw_writeb(val,addr) out_8((addr),(val))
f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @47  #define __raw_writew(val,addr) out_be16((addr),(val))
f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @48  #define __raw_writel(val,addr) out_be32((addr),(val))
^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  49  

:::::: The code at line 39 was first introduced by commit
:::::: f9569e1d1540791f664aeb935b1ec11b6e56507c m68k iomem (based on Geert's tree + memcpy_... stuff)

:::::: TO: Al Viro <viro@ftp.linux.org.uk>
:::::: CC: Linus Torvalds <torvalds@woody.linux-foundation.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: arch/m68k/include/asm/raw_io.h:39: warning: "__raw_readb" redefined
  2025-01-07  8:57 arch/m68k/include/asm/raw_io.h:39: warning: "__raw_readb" redefined kernel test robot
@ 2025-01-07 10:01 ` Thomas Zimmermann
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Zimmermann @ 2025-01-07 10:01 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all, linux-kernel, Javier Martinez Canillas

See 
https://lore.kernel.org/lkml/20250107095912.130530-1-tzimmermann@suse.de/T/#u 
for a possible fix.


Am 07.01.25 um 09:57 schrieb kernel test robot:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   fbfd64d25c7af3b8695201ebc85efe90be28c5a3
> commit: 7283f862bd991c8657e9bf1c02db772fcf018f13 drm: Implement DRM aperture helpers under video/
> date:   2 years, 6 months ago
> config: m68k-randconfig-m031-20211009 (https://download.01.org/0day-ci/archive/20250107/202501071629.DNEswlm8-lkp@intel.com/config)
> compiler: m68k-linux-gcc (GCC) 12.4.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250107/202501071629.DNEswlm8-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/202501071629.DNEswlm8-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
>     In file included from arch/m68k/include/asm/vga.h:12,
>                      from include/video/vga.h:22,
>                      from include/linux/vgaarb.h:34,
>                      from drivers/video/aperture.c:12:
>>> arch/m68k/include/asm/raw_io.h:39: warning: "__raw_readb" redefined
>        39 | #define __raw_readb in_8
>           |
>     In file included from arch/m68k/include/asm/io.h:6,
>                      from include/linux/io.h:13,
>                      from include/linux/irq.h:20,
>                      from include/asm-generic/hardirq.h:17,
>                      from ./arch/m68k/include/generated/asm/hardirq.h:1,
>                      from include/linux/hardirq.h:11,
>                      from include/linux/interrupt.h:11,
>                      from include/linux/trace_recursion.h:5,
>                      from include/linux/ftrace.h:10,
>                      from include/linux/kprobes.h:28,
>                      from include/linux/kgdb.h:19,
>                      from include/linux/fb.h:6,
>                      from drivers/video/aperture.c:5:
>     arch/m68k/include/asm/io_no.h:16: note: this is the location of the previous definition
>        16 | #define __raw_readb(addr) \
>           |
>>> arch/m68k/include/asm/raw_io.h:40: warning: "__raw_readw" redefined
>        40 | #define __raw_readw in_be16
>           |
>     arch/m68k/include/asm/io_no.h:18: note: this is the location of the previous definition
>        18 | #define __raw_readw(addr) \
>           |
>>> arch/m68k/include/asm/raw_io.h:41: warning: "__raw_readl" redefined
>        41 | #define __raw_readl in_be32
>           |
>     arch/m68k/include/asm/io_no.h:20: note: this is the location of the previous definition
>        20 | #define __raw_readl(addr) \
>           |
>>> arch/m68k/include/asm/raw_io.h:46: warning: "__raw_writeb" redefined
>        46 | #define __raw_writeb(val,addr) out_8((addr),(val))
>           |
>     arch/m68k/include/asm/io_no.h:23: note: this is the location of the previous definition
>        23 | #define __raw_writeb(b, addr) (void)((*(__force volatile u8 *) (addr)) = (b))
>           |
>>> arch/m68k/include/asm/raw_io.h:47: warning: "__raw_writew" redefined
>        47 | #define __raw_writew(val,addr) out_be16((addr),(val))
>           |
>     arch/m68k/include/asm/io_no.h:24: note: this is the location of the previous definition
>        24 | #define __raw_writew(b, addr) (void)((*(__force volatile u16 *) (addr)) = (b))
>           |
>>> arch/m68k/include/asm/raw_io.h:48: warning: "__raw_writel" redefined
>        48 | #define __raw_writel(val,addr) out_be32((addr),(val))
>           |
>     arch/m68k/include/asm/io_no.h:25: note: this is the location of the previous definition
>        25 | #define __raw_writel(b, addr) (void)((*(__force volatile u32 *) (addr)) = (b))
>           |
>
>
> vim +/__raw_readb +39 arch/m68k/include/asm/raw_io.h
>
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  35
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  36  #define raw_inb in_8
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  37  #define raw_inw in_be16
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  38  #define raw_inl in_be32
> f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @39  #define __raw_readb in_8
> f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @40  #define __raw_readw in_be16
> f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @41  #define __raw_readl in_be32
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  42
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  43  #define raw_outb(val,port) out_8((port),(val))
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  44  #define raw_outw(val,port) out_be16((port),(val))
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  45  #define raw_outl(val,port) out_be32((port),(val))
> f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @46  #define __raw_writeb(val,addr) out_8((addr),(val))
> f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @47  #define __raw_writew(val,addr) out_be16((addr),(val))
> f9569e1d154079 include/asm-m68k/raw_io.h Al Viro        2007-07-20 @48  #define __raw_writel(val,addr) out_be32((addr),(val))
> ^1da177e4c3f41 include/asm-m68k/raw_io.h Linus Torvalds 2005-04-16  49
>
> :::::: The code at line 39 was first introduced by commit
> :::::: f9569e1d1540791f664aeb935b1ec11b6e56507c m68k iomem (based on Geert's tree + memcpy_... stuff)
>
> :::::: TO: Al Viro <viro@ftp.linux.org.uk>
> :::::: CC: Linus Torvalds <torvalds@woody.linux-foundation.org>
>

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-07 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-07  8:57 arch/m68k/include/asm/raw_io.h:39: warning: "__raw_readb" redefined kernel test robot
2025-01-07 10:01 ` Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®