Re: drivers/media/platform/fsl-viu.c:36: warning: "out_be32" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 17, 2020 at 9:32 PM kernel test robot <lkp@xxxxxxxxx> wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
> commit: a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a media: Kconfig: not all V4L2 platform drivers are for camera
> date:   4 months ago
> config: m68k-randconfig-r021-20200817 (attached as .config)
> compiler: m68k-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

>    drivers/media/platform/fsl-viu.c: At top level:
> >> drivers/media/platform/fsl-viu.c:36: warning: "out_be32" redefined
>       36 | #define out_be32(v, a) iowrite32be(a, (void __iomem *)v)
>          |
>    In file included from arch/m68k/include/asm/io_mm.h:25,
>                     from arch/m68k/include/asm/io.h:8,
>                     from include/linux/io.h:13,
>                     from include/linux/irq.h:20,
>                     from include/asm-generic/hardirq.h:13,
>                     from ./arch/m68k/include/generated/asm/hardirq.h:1,
>                     from include/linux/hardirq.h:9,
>                     from include/linux/interrupt.h:11,
>                     from drivers/media/platform/fsl-viu.c:17:
>    arch/m68k/include/asm/raw_io.h:32: note: this is the location of the previous definition
>       32 | #define out_be32(addr,l) (void)((*(__force volatile u32 *) (addr)) = (l))
>          |
> >> drivers/media/platform/fsl-viu.c:37: warning: "in_be32" redefined
>       37 | #define in_be32(a) ioread32be((void __iomem *)a)
>          |
>    In file included from arch/m68k/include/asm/io_mm.h:25,
>                     from arch/m68k/include/asm/io.h:8,
>                     from include/linux/io.h:13,
>                     from include/linux/irq.h:20,
>                     from include/asm-generic/hardirq.h:13,
>                     from ./arch/m68k/include/generated/asm/hardirq.h:1,
>                     from include/linux/hardirq.h:9,
>                     from include/linux/interrupt.h:11,
>                     from drivers/media/platform/fsl-viu.c:17:
>    arch/m68k/include/asm/raw_io.h:23: note: this is the location of the previous definition
>       23 | #define in_be32(addr) \
>          |

Fix available for +2 years

[PATCH] media: fsl-viu: Use proper check for presence of {out,in}_be32()
https://lore.kernel.org/linux-media/1528451328-21316-1-git-send-email-geert@xxxxxxxxxxxxxx/

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux