lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdX4jA1UAhu=odCFHgj4adL3T5hEDoqgqnrFw3L492g+QA@mail.gmail.com>
Date:   Mon, 17 Aug 2020 22:18:33 +0200
From:   Geert Uytterhoeven <geert@...ux-m68k.org>
To:     kernel test robot <lkp@...el.com>
Cc:     Mauro Carvalho Chehab <mchehab@...nel.org>,
        kbuild-all@...ts.01.org,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Media Mailing List <linux-media@...r.kernel.org>
Subject: Re: drivers/media/platform/fsl-viu.c:36: warning: "out_be32" redefined

On Mon, Aug 17, 2020 at 9:32 PM kernel test robot <lkp@...el.com> 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@...el.com>

>    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@linux-m68k.org/

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ