All of lore.kernel.org
 help / color / mirror / Atom feed
* [asm-generic:master 4/6] arch/powerpc/kernel/iomap.c:142:6: error: conflicting types for 'ioread8_rep'
@ 2019-02-18 18:10 kbuild test robot
  2019-02-18 18:18 ` Hugo Lefeuvre
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-02-18 18:10 UTC (permalink / raw)
  To: Hugo Lefeuvre; +Cc: kbuild-all, linux-arch, Arnd Bergmann

[-- Attachment #1: Type: text/plain, Size: 22171 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
head:   3c4fcc2648569c3fe573849f9254c8c3499ec648
commit: 6ce9e34a28174293927e0b51acc4d30a130a565a [4/6] iomap: add missing const to ioread*/iowrite addr arg
config: powerpc-allnoconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 8.2.0-11) 8.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 6ce9e34a28174293927e0b51acc4d30a130a565a
        # save the attached .config to linux build tree
        GCC_VERSION=8.2.0 make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

>> arch/powerpc/kernel/iomap.c:18:14: error: conflicting types for 'ioread8'
    unsigned int ioread8(void __iomem *addr)
                 ^~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:29:21: note: previous declaration of 'ioread8' was here
    extern unsigned int ioread8(const void __iomem *addr);
                        ^~~~~~~
>> arch/powerpc/kernel/iomap.c:22:14: error: conflicting types for 'ioread16'
    unsigned int ioread16(void __iomem *addr)
                 ^~~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:30:21: note: previous declaration of 'ioread16' was here
    extern unsigned int ioread16(const void __iomem *addr);
                        ^~~~~~~~
>> arch/powerpc/kernel/iomap.c:26:14: error: conflicting types for 'ioread16be'
    unsigned int ioread16be(void __iomem *addr)
                 ^~~~~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:31:21: note: previous declaration of 'ioread16be' was here
    extern unsigned int ioread16be(const void __iomem *addr);
                        ^~~~~~~~~~
>> arch/powerpc/kernel/iomap.c:30:14: error: conflicting types for 'ioread32'
    unsigned int ioread32(void __iomem *addr)
                 ^~~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:32:21: note: previous declaration of 'ioread32' was here
    extern unsigned int ioread32(const void __iomem *addr);
                        ^~~~~~~~
>> arch/powerpc/kernel/iomap.c:34:14: error: conflicting types for 'ioread32be'
    unsigned int ioread32be(void __iomem *addr)
                 ^~~~~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:33:21: note: previous declaration of 'ioread32be' was here
    extern unsigned int ioread32be(const void __iomem *addr);
                        ^~~~~~~~~~
>> arch/powerpc/kernel/iomap.c:142:6: error: conflicting types for 'ioread8_rep'
    void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
         ^~~~~~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:60:13: note: previous declaration of 'ioread8_rep' was here
    extern void ioread8_rep(const void __iomem *port, void *buf, unsigned long count);
                ^~~~~~~~~~~
>> arch/powerpc/kernel/iomap.c:146:6: error: conflicting types for 'ioread16_rep'
    void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
         ^~~~~~~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:61:13: note: previous declaration of 'ioread16_rep' was here
    extern void ioread16_rep(const void __iomem *port, void *buf, unsigned long count);
                ^~~~~~~~~~~~
>> arch/powerpc/kernel/iomap.c:150:6: error: conflicting types for 'ioread32_rep'
    void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
         ^~~~~~~~~~~~
   In file included from arch/powerpc/include/asm/io.h:653,
                    from include/linux/io.h:25,
                    from include/linux/irq.h:20,
                    from arch/powerpc/include/asm/hardirq.h:6,
                    from include/linux/hardirq.h:9,
                    from include/linux/interrupt.h:11,
                    from include/linux/pci.h:32,
                    from arch/powerpc/kernel/iomap.c:7:
   include/asm-generic/iomap.h:62:13: note: previous declaration of 'ioread32_rep' was here
    extern void ioread32_rep(const void __iomem *port, void *buf, unsigned long count);
                ^~~~~~~~~~~~

vim +/ioread8_rep +142 arch/powerpc/kernel/iomap.c

^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   @7  #include <linux/pci.h>
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16    8  #include <linux/mm.h>
93087948 arch/powerpc/kernel/iomap.c Paul Gortmaker         2011-07-29    9  #include <linux/export.h>
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   10  #include <asm/io.h>
50747cb8 arch/powerpc/kernel/iomap.c Benjamin Herrenschmidt 2007-07-26   11  #include <asm/pci-bridge.h>
38e9d36b arch/powerpc/kernel/iomap.c Benjamin Herrenschmidt 2017-01-30   12  #include <asm/isa-bridge.h>
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   13  
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   14  /*
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   15   * Here comes the ppc64 implementation of the IOMAP 
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   16   * interfaces.
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   17   */
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26  @18  unsigned int ioread8(void __iomem *addr)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   19  {
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   20  	return readb(addr);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   21  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26  @22  unsigned int ioread16(void __iomem *addr)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   23  {
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   24  	return readw(addr);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   25  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26  @26  unsigned int ioread16be(void __iomem *addr)
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   27  {
0eb57368 arch/powerpc/kernel/iomap.c Gavin Shan             2014-06-23   28  	return readw_be(addr);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   29  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26  @30  unsigned int ioread32(void __iomem *addr)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   31  {
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   32  	return readl(addr);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   33  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26  @34  unsigned int ioread32be(void __iomem *addr)
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   35  {
0eb57368 arch/powerpc/kernel/iomap.c Gavin Shan             2014-06-23   36  	return readl_be(addr);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   37  }
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   38  EXPORT_SYMBOL(ioread8);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   39  EXPORT_SYMBOL(ioread16);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   40  EXPORT_SYMBOL(ioread16be);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   41  EXPORT_SYMBOL(ioread32);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   42  EXPORT_SYMBOL(ioread32be);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   43  #ifdef __powerpc64__
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   44  u64 ioread64(void __iomem *addr)
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   45  {
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   46  	return readq(addr);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   47  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   48  u64 ioread64_lo_hi(void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   49  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   50  	return readq(addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   51  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   52  u64 ioread64_hi_lo(void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   53  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   54  	return readq(addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   55  }
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   56  u64 ioread64be(void __iomem *addr)
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   57  {
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   58  	return readq_be(addr);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   59  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   60  u64 ioread64be_lo_hi(void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   61  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   62  	return readq_be(addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   63  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   64  u64 ioread64be_hi_lo(void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   65  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   66  	return readq_be(addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   67  }
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   68  EXPORT_SYMBOL(ioread64);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   69  EXPORT_SYMBOL(ioread64_lo_hi);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   70  EXPORT_SYMBOL(ioread64_hi_lo);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   71  EXPORT_SYMBOL(ioread64be);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   72  EXPORT_SYMBOL(ioread64be_lo_hi);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27   73  EXPORT_SYMBOL(ioread64be_hi_lo);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19   74  #endif /* __powerpc64__ */
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   75  
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26   76  void iowrite8(u8 val, void __iomem *addr)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   77  {
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   78  	writeb(val, addr);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   79  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26   80  void iowrite16(u16 val, void __iomem *addr)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   81  {
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   82  	writew(val, addr);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   83  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26   84  void iowrite16be(u16 val, void __iomem *addr)
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   85  {
0eb57368 arch/powerpc/kernel/iomap.c Gavin Shan             2014-06-23   86  	writew_be(val, addr);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   87  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26   88  void iowrite32(u32 val, void __iomem *addr)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   89  {
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   90  	writel(val, addr);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   91  }
8943212c arch/powerpc/kernel/iomap.c Kumar Gala             2007-01-26   92  void iowrite32be(u32 val, void __iomem *addr)
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   93  {
0eb57368 arch/powerpc/kernel/iomap.c Gavin Shan             2014-06-23   94  	writel_be(val, addr);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   95  }
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   96  EXPORT_SYMBOL(iowrite8);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   97  EXPORT_SYMBOL(iowrite16);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20   98  EXPORT_SYMBOL(iowrite16be);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16   99  EXPORT_SYMBOL(iowrite32);
76637536 arch/ppc64/kernel/iomap.c   Arthur Othieno         2005-08-20  100  EXPORT_SYMBOL(iowrite32be);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  101  #ifdef __powerpc64__
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  102  void iowrite64(u64 val, void __iomem *addr)
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  103  {
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  104  	writeq(val, addr);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  105  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  106  void iowrite64_lo_hi(u64 val, void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  107  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  108  	writeq(val, addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  109  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  110  void iowrite64_hi_lo(u64 val, void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  111  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  112  	writeq(val, addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  113  }
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  114  void iowrite64be(u64 val, void __iomem *addr)
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  115  {
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  116  	writeq_be(val, addr);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  117  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  118  void iowrite64be_lo_hi(u64 val, void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  119  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  120  	writeq_be(val, addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  121  }
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  122  void iowrite64be_hi_lo(u64 val, void __iomem *addr)
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  123  {
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  124  	writeq_be(val, addr);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  125  }
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  126  EXPORT_SYMBOL(iowrite64);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  127  EXPORT_SYMBOL(iowrite64_lo_hi);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  128  EXPORT_SYMBOL(iowrite64_hi_lo);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  129  EXPORT_SYMBOL(iowrite64be);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  130  EXPORT_SYMBOL(iowrite64be_lo_hi);
07c3d9ea arch/powerpc/kernel/iomap.c Logan Gunthorpe        2018-03-27  131  EXPORT_SYMBOL(iowrite64be_hi_lo);
d54fc90c arch/powerpc/kernel/iomap.c Horia Geantă           2016-05-19  132  #endif /* __powerpc64__ */
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  133  
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  134  /*
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  135   * These are the "repeat read/write" functions. Note the
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  136   * non-CPU byte order. We do things in "IO byteorder"
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  137   * here.
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  138   *
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  139   * FIXME! We could make these do EEH handling if we really
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  140   * wanted. Not clear if we do.
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  141   */
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16 @142  void ioread8_rep(void __iomem *addr, void *dst, unsigned long count)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  143  {
0eb57368 arch/powerpc/kernel/iomap.c Gavin Shan             2014-06-23  144  	readsb(addr, dst, count);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  145  }
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16 @146  void ioread16_rep(void __iomem *addr, void *dst, unsigned long count)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  147  {
0eb57368 arch/powerpc/kernel/iomap.c Gavin Shan             2014-06-23  148  	readsw(addr, dst, count);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  149  }
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16 @150  void ioread32_rep(void __iomem *addr, void *dst, unsigned long count)
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  151  {
0eb57368 arch/powerpc/kernel/iomap.c Gavin Shan             2014-06-23  152  	readsl(addr, dst, count);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  153  }
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  154  EXPORT_SYMBOL(ioread8_rep);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  155  EXPORT_SYMBOL(ioread16_rep);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  156  EXPORT_SYMBOL(ioread32_rep);
^1da177e arch/ppc64/kernel/iomap.c   Linus Torvalds         2005-04-16  157  

:::::: The code at line 142 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 5516 bytes --]

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

* Re: [asm-generic:master 4/6] arch/powerpc/kernel/iomap.c:142:6: error: conflicting types for 'ioread8_rep'
  2019-02-18 18:10 [asm-generic:master 4/6] arch/powerpc/kernel/iomap.c:142:6: error: conflicting types for 'ioread8_rep' kbuild test robot
@ 2019-02-18 18:18 ` Hugo Lefeuvre
  0 siblings, 0 replies; 2+ messages in thread
From: Hugo Lefeuvre @ 2019-02-18 18:18 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-arch

Hi Arnd,

On Tue, Feb 19, 2019 at 02:10:34AM +0800, kbuild test robot wrote:
> All errors (new ones prefixed by >>):
> 
> >> arch/powerpc/kernel/iomap.c:18:14: error: conflicting types for 'ioread8'
>     unsigned int ioread8(void __iomem *addr)
>                  ^~~~~~~
>    In file included from arch/powerpc/include/asm/io.h:653,
>                     from include/linux/io.h:25,
>                     from include/linux/irq.h:20,
>                     from arch/powerpc/include/asm/hardirq.h:6,
>                     from include/linux/hardirq.h:9,
>                     from include/linux/interrupt.h:11,
>                     from include/linux/pci.h:32,
>                     from arch/powerpc/kernel/iomap.c:7:
>    include/asm-generic/iomap.h:29:21: note: previous declaration of 'ioread8' was here
>     extern unsigned int ioread8(const void __iomem *addr);
>                         ^~~~~~~

Just saw that, seems like powerpc headers should be updated as well. Should
I prepare a patch ?

Thanks.

regards,
 Hugo

-- 
                Hugo Lefeuvre (hle)    |    www.owl.eu.com
RSA4096_ 360B 03B3 BF27 4F4D 7A3F D5E8 14AA 1EB8 A247 3DFD
ed25519_ 37B2 6D38 0B25 B8A2 6B9F 3A65 A36F 5357 5F2D DC4C

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

end of thread, other threads:[~2019-02-18 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-18 18:10 [asm-generic:master 4/6] arch/powerpc/kernel/iomap.c:142:6: error: conflicting types for 'ioread8_rep' kbuild test robot
2019-02-18 18:18 ` Hugo Lefeuvre

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.