tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   fbbe3b8c2c9c5f84caf668703c26154cb4fbb9d1
commit: 29d750686331a1a9ceeb97e81d3770f57bed5f72 [875/8111] media: fsl-viu: 
allow building it with COMPILE_TEST
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 29d750686331a1a9ceeb97e81d3770f57bed5f72
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

>> drivers/media//platform/fsl-viu.c:41:0: warning: "out_be32" redefined
    #define out_be32(v, a) iowrite32be(a, (void __iomem *)v)
    
   In file included from arch/m68k/include/asm/io_mm.h:27:0,
                    from arch/m68k/include/asm/io.h:5,
                    from include/linux/io.h:25,
                    from drivers/media//platform/fsl-viu.c:23:
   arch/m68k/include/asm/raw_io.h:46:0: note: this is the location of the 
previous definition
    #define out_be32(addr,l) (void)((*(__force volatile u32 *) (addr)) = (l))
    
>> drivers/media//platform/fsl-viu.c:42:0: warning: "in_be32" redefined
    #define in_be32(a) ioread32be((void __iomem *)a)
    
   In file included from arch/m68k/include/asm/io_mm.h:27:0,
                    from arch/m68k/include/asm/io.h:5,
                    from include/linux/io.h:25,
                    from drivers/media//platform/fsl-viu.c:23:
   arch/m68k/include/asm/raw_io.h:37:0: note: this is the location of the 
previous definition
    #define in_be32(addr) \
    

vim +/out_be32 +41 drivers/media//platform/fsl-viu.c

  > 23  #include <linux/io.h>
    24  #include <linux/of_address.h>
    25  #include <linux/of_irq.h>
    26  #include <linux/of_platform.h>
    27  #include <linux/slab.h>
    28  #include <media/v4l2-common.h>
    29  #include <media/v4l2-device.h>
    30  #include <media/v4l2-ioctl.h>
    31  #include <media/v4l2-ctrls.h>
    32  #include <media/v4l2-fh.h>
    33  #include <media/v4l2-event.h>
    34  #include <media/videobuf-dma-contig.h>
    35  
    36  #define DRV_NAME                "fsl_viu"
    37  #define VIU_VERSION             "0.5.1"
    38  
    39  /* Allow building this driver with COMPILE_TEST */
    40  #ifndef CONFIG_PPC
  > 41  #define out_be32(v, a)  iowrite32be(a, (void __iomem *)v)
  > 42  #define in_be32(a)      ioread32be((void __iomem *)a)
    43  #endif
    44  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to