All of lore.kernel.org
 help / color / mirror / Atom feed
* [stffrdhrn:starfive-bad-dcache-flush 5/39] include/asm-generic/io.h:833:9: warning: passing argument 1 of '__raw_readsb' discards 'const' qualifier from pointer target type
@ 2021-05-22 14:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-22 14:19 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/stffrdhrn/linux.git starfive-bad-dcache-flush
head:   a5c948a9cc2b8944f00056c067fb7bde19b34843
commit: 57954b0b0dce53804d072cca75ec36f7c2320c3a [5/39] drivers/hwmon: Add tempsensor hwmon driver for Starfive VIC7100
config: sh-allmodconfig (attached as .config)
compiler: sh4-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
        # https://github.com/stffrdhrn/linux/commit/57954b0b0dce53804d072cca75ec36f7c2320c3a
        git remote add stffrdhrn https://github.com/stffrdhrn/linux.git
        git fetch --no-tags stffrdhrn starfive-bad-dcache-flush
        git checkout 57954b0b0dce53804d072cca75ec36f7c2320c3a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

      53 | extern void iowrite32(u32, void __iomem *);
         |             ^~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:777:20: error: conflicting types for 'ioread16be'
     777 | #define ioread16be ioread16be
         |                    ^~~~~~~~~~
   include/asm-generic/io.h:778:19: note: in expansion of macro 'ioread16be'
     778 | static inline u16 ioread16be(const volatile void __iomem *addr)
         |                   ^~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:31:21: note: previous declaration of 'ioread16be' was here
      31 | extern unsigned int ioread16be(const void __iomem *);
         |                     ^~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:785:20: error: conflicting types for 'ioread32be'
     785 | #define ioread32be ioread32be
         |                    ^~~~~~~~~~
   include/asm-generic/io.h:786:19: note: in expansion of macro 'ioread32be'
     786 | static inline u32 ioread32be(const volatile void __iomem *addr)
         |                   ^~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:33:21: note: previous declaration of 'ioread32be' was here
      33 | extern unsigned int ioread32be(const void __iomem *);
         |                     ^~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:803:21: error: conflicting types for 'iowrite16be'
     803 | #define iowrite16be iowrite16be
         |                     ^~~~~~~~~~~
   include/asm-generic/io.h:804:20: note: in expansion of macro 'iowrite16be'
     804 | static inline void iowrite16be(u16 value, void volatile __iomem *addr)
         |                    ^~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:52:13: note: previous declaration of 'iowrite16be' was here
      52 | extern void iowrite16be(u16, void __iomem *);
         |             ^~~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:811:21: error: conflicting types for 'iowrite32be'
     811 | #define iowrite32be iowrite32be
         |                     ^~~~~~~~~~~
   include/asm-generic/io.h:812:20: note: in expansion of macro 'iowrite32be'
     812 | static inline void iowrite32be(u32 value, volatile void __iomem *addr)
         |                    ^~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:54:13: note: previous declaration of 'iowrite32be' was here
      54 | extern void iowrite32be(u32, void __iomem *);
         |             ^~~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:829:21: error: conflicting types for 'ioread8_rep'
     829 | #define ioread8_rep ioread8_rep
         |                     ^~~~~~~~~~~
   include/asm-generic/io.h:830:20: note: in expansion of macro 'ioread8_rep'
     830 | static inline void ioread8_rep(const volatile void __iomem *addr, void *buffer,
         |                    ^~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:82:13: note: previous declaration of 'ioread8_rep' was here
      82 | extern void ioread8_rep(const void __iomem *port, void *buf, unsigned long count);
         |             ^~~~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/io.h: In function 'ioread8_rep':
>> include/asm-generic/io.h:833:9: warning: passing argument 1 of '__raw_readsb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     833 |  readsb(addr, buffer, count);
         |         ^~~~
   arch/sh/include/asm/io.h:59:37: note: in definition of macro 'readsb'
      59 | #define readsb(p,d,l)  __raw_readsb(p,d,l)
         |                                     ^
   arch/sh/include/asm/io.h:103:60: note: expected 'volatile void *' but argument is of type 'const volatile void *'
     103 | static inline void pfx##reads##bwlq(volatile void __iomem *mem,  \
         |                                     ~~~~~~~~~~~~~~~~~~~~~~~^~~
   arch/sh/include/asm/io.h:114:1: note: in expansion of macro '__BUILD_MEMORY_STRING'
     114 | __BUILD_MEMORY_STRING(__raw_, b, u8)
         | ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h: At top level:
   include/asm-generic/io.h:838:22: error: conflicting types for 'ioread16_rep'
     838 | #define ioread16_rep ioread16_rep
         |                      ^~~~~~~~~~~~
   include/asm-generic/io.h:839:20: note: in expansion of macro 'ioread16_rep'
     839 | static inline void ioread16_rep(const volatile void __iomem *addr,
         |                    ^~~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:83:13: note: previous declaration of 'ioread16_rep' was here
      83 | extern void ioread16_rep(const void __iomem *port, void *buf, unsigned long count);
         |             ^~~~~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/io.h: In function 'ioread16_rep':
>> include/asm-generic/io.h:842:9: warning: passing argument 1 of '__raw_readsw' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     842 |  readsw(addr, buffer, count);
         |         ^~~~
   arch/sh/include/asm/io.h:60:37: note: in definition of macro 'readsw'
      60 | #define readsw(p,d,l)  __raw_readsw(p,d,l)
         |                                     ^
   arch/sh/include/asm/io.h:103:60: note: expected 'volatile void *' but argument is of type 'const volatile void *'
     103 | static inline void pfx##reads##bwlq(volatile void __iomem *mem,  \
         |                                     ~~~~~~~~~~~~~~~~~~~~~~~^~~
   arch/sh/include/asm/io.h:115:1: note: in expansion of macro '__BUILD_MEMORY_STRING'
     115 | __BUILD_MEMORY_STRING(__raw_, w, u16)
         | ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h: At top level:
   include/asm-generic/io.h:847:22: error: conflicting types for 'ioread32_rep'
     847 | #define ioread32_rep ioread32_rep
         |                      ^~~~~~~~~~~~
   include/asm-generic/io.h:848:20: note: in expansion of macro 'ioread32_rep'
     848 | static inline void ioread32_rep(const volatile void __iomem *addr,
         |                    ^~~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:84:13: note: previous declaration of 'ioread32_rep' was here
      84 | extern void ioread32_rep(const void __iomem *port, void *buf, unsigned long count);
         |             ^~~~~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/io.h: In function 'ioread32_rep':
>> include/asm-generic/io.h:851:9: warning: passing argument 1 of '__raw_readsl' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
     851 |  readsl(addr, buffer, count);
         |         ^~~~
   arch/sh/include/asm/io.h:61:37: note: in definition of macro 'readsl'
      61 | #define readsl(p,d,l)  __raw_readsl(p,d,l)
         |                                     ^
   arch/sh/include/asm/io.h:118:39: note: expected 'const void *' but argument is of type 'const volatile void *'
     118 | void __raw_readsl(const void __iomem *addr, void *data, int longlen);
         |                   ~~~~~~~~~~~~~~~~~~~~^~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h: At top level:
   include/asm-generic/io.h:867:22: error: conflicting types for 'iowrite8_rep'
     867 | #define iowrite8_rep iowrite8_rep
         |                      ^~~~~~~~~~~~
   include/asm-generic/io.h:868:20: note: in expansion of macro 'iowrite8_rep'
     868 | static inline void iowrite8_rep(volatile void __iomem *addr,
         |                    ^~~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:86:13: note: previous declaration of 'iowrite8_rep' was here
      86 | extern void iowrite8_rep(void __iomem *port, const void *buf, unsigned long count);
         |             ^~~~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:877:23: error: conflicting types for 'iowrite16_rep'
     877 | #define iowrite16_rep iowrite16_rep
         |                       ^~~~~~~~~~~~~
   include/asm-generic/io.h:878:20: note: in expansion of macro 'iowrite16_rep'
     878 | static inline void iowrite16_rep(volatile void __iomem *addr,
         |                    ^~~~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:87:13: note: previous declaration of 'iowrite16_rep' was here
      87 | extern void iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
         |             ^~~~~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:887:23: error: conflicting types for 'iowrite32_rep'
     887 | #define iowrite32_rep iowrite32_rep
         |                       ^~~~~~~~~~~~~
   include/asm-generic/io.h:888:20: note: in expansion of macro 'iowrite32_rep'
     888 | static inline void iowrite32_rep(volatile void __iomem *addr,
         |                    ^~~~~~~~~~~~~
   In file included from arch/sh/include/asm/io.h:22,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/iomap.h:88:13: note: previous declaration of 'iowrite32_rep' was here
      88 | extern void iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
         |             ^~~~~~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   include/asm-generic/io.h: In function 'iowrite32_rep':
>> include/asm-generic/io.h:892:10: warning: passing argument 1 of '__raw_writesl' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
     892 |  writesl(addr, buffer, count);
         |          ^~~~
   arch/sh/include/asm/io.h:65:39: note: in definition of macro 'writesl'
      65 | #define writesl(p,d,l)  __raw_writesl(p,d,l)
         |                                       ^
   arch/sh/include/asm/io.h:117:34: note: expected 'void *' but argument is of type 'volatile void *'
     117 | void __raw_writesl(void __iomem *addr, const void *data, int longlen);
         |                    ~~~~~~~~~~~~~~^~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h: At top level:
   include/asm-generic/io.h:1097:19: error: conflicting types for 'memset_io'
    1097 | #define memset_io memset_io
         |                   ^~~~~~~~~
   include/asm-generic/io.h:1106:20: note: in expansion of macro 'memset_io'
    1106 | static inline void memset_io(volatile void __iomem *addr, int value,
         |                    ^~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   arch/sh/include/asm/io.h:230:6: note: previous declaration of 'memset_io' was here
     230 | void memset_io(volatile void __iomem *, int, unsigned long);
         |      ^~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:1114:23: error: conflicting types for 'memcpy_fromio'
    1114 | #define memcpy_fromio memcpy_fromio
         |                       ^~~~~~~~~~~~~
   include/asm-generic/io.h:1123:20: note: in expansion of macro 'memcpy_fromio'
    1123 | static inline void memcpy_fromio(void *buffer,
         |                    ^~~~~~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   arch/sh/include/asm/io.h:228:6: note: previous declaration of 'memcpy_fromio' was here
     228 | void memcpy_fromio(void *, const volatile void __iomem *, unsigned long);
         |      ^~~~~~~~~~~~~
   In file included from drivers/hwmon/sfctmp.c:26:
   include/asm-generic/io.h:1132:21: error: conflicting types for 'memcpy_toio'
    1132 | #define memcpy_toio memcpy_toio
         |                     ^~~~~~~~~~~
   include/asm-generic/io.h:1141:20: note: in expansion of macro 'memcpy_toio'
    1141 | static inline void memcpy_toio(volatile void __iomem *addr, const void *buffer,
         |                    ^~~~~~~~~~~
   In file included from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:17,
                    from arch/sh/include/asm/hardirq.h:9,
                    from include/linux/hardirq.h:11,
                    from include/linux/interrupt.h:11,
                    from drivers/hwmon/sfctmp.c:21:
   arch/sh/include/asm/io.h:229:6: note: previous declaration of 'memcpy_toio' was here
     229 | void memcpy_toio(volatile void __iomem *, const void *, unsigned long);
         |      ^~~~~~~~~~~
   drivers/hwmon/sfctmp.c:132:5: warning: no previous prototype for 'temp_sensor_deinit' [-Wmissing-prototypes]
     132 | int temp_sensor_deinit(struct sfc_temp *sfc_temp)
         |     ^~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
   Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
   Selected by
   - SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
   - SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC


vim +833 include/asm-generic/io.h

9e44fb1816dba8 Horia Geantă   2016-05-19  827  
9ab3a7a0d2b417 Thierry Reding 2014-07-04  828  #ifndef ioread8_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  829  #define ioread8_rep ioread8_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  830  static inline void ioread8_rep(const volatile void __iomem *addr, void *buffer,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  831  			       unsigned int count)
9ab3a7a0d2b417 Thierry Reding 2014-07-04  832  {
9ab3a7a0d2b417 Thierry Reding 2014-07-04 @833  	readsb(addr, buffer, count);
9ab3a7a0d2b417 Thierry Reding 2014-07-04  834  }
9ab3a7a0d2b417 Thierry Reding 2014-07-04  835  #endif
9ab3a7a0d2b417 Thierry Reding 2014-07-04  836  
9ab3a7a0d2b417 Thierry Reding 2014-07-04  837  #ifndef ioread16_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  838  #define ioread16_rep ioread16_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  839  static inline void ioread16_rep(const volatile void __iomem *addr,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  840  				void *buffer, unsigned int count)
9ab3a7a0d2b417 Thierry Reding 2014-07-04  841  {
9ab3a7a0d2b417 Thierry Reding 2014-07-04 @842  	readsw(addr, buffer, count);
9ab3a7a0d2b417 Thierry Reding 2014-07-04  843  }
9ab3a7a0d2b417 Thierry Reding 2014-07-04  844  #endif
9ab3a7a0d2b417 Thierry Reding 2014-07-04  845  
9ab3a7a0d2b417 Thierry Reding 2014-07-04  846  #ifndef ioread32_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  847  #define ioread32_rep ioread32_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  848  static inline void ioread32_rep(const volatile void __iomem *addr,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  849  				void *buffer, unsigned int count)
9ab3a7a0d2b417 Thierry Reding 2014-07-04  850  {
9ab3a7a0d2b417 Thierry Reding 2014-07-04 @851  	readsl(addr, buffer, count);
9ab3a7a0d2b417 Thierry Reding 2014-07-04  852  }
9ab3a7a0d2b417 Thierry Reding 2014-07-04  853  #endif
9ab3a7a0d2b417 Thierry Reding 2014-07-04  854  
9e44fb1816dba8 Horia Geantă   2016-05-19  855  #ifdef CONFIG_64BIT
9e44fb1816dba8 Horia Geantă   2016-05-19  856  #ifndef ioread64_rep
9e44fb1816dba8 Horia Geantă   2016-05-19  857  #define ioread64_rep ioread64_rep
9e44fb1816dba8 Horia Geantă   2016-05-19  858  static inline void ioread64_rep(const volatile void __iomem *addr,
9e44fb1816dba8 Horia Geantă   2016-05-19  859  				void *buffer, unsigned int count)
9e44fb1816dba8 Horia Geantă   2016-05-19  860  {
9e44fb1816dba8 Horia Geantă   2016-05-19  861  	readsq(addr, buffer, count);
9e44fb1816dba8 Horia Geantă   2016-05-19  862  }
9e44fb1816dba8 Horia Geantă   2016-05-19  863  #endif
9e44fb1816dba8 Horia Geantă   2016-05-19  864  #endif /* CONFIG_64BIT */
9e44fb1816dba8 Horia Geantă   2016-05-19  865  
9ab3a7a0d2b417 Thierry Reding 2014-07-04  866  #ifndef iowrite8_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  867  #define iowrite8_rep iowrite8_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  868  static inline void iowrite8_rep(volatile void __iomem *addr,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  869  				const void *buffer,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  870  				unsigned int count)
9ab3a7a0d2b417 Thierry Reding 2014-07-04  871  {
9ab3a7a0d2b417 Thierry Reding 2014-07-04  872  	writesb(addr, buffer, count);
9ab3a7a0d2b417 Thierry Reding 2014-07-04  873  }
9ab3a7a0d2b417 Thierry Reding 2014-07-04  874  #endif
9ab3a7a0d2b417 Thierry Reding 2014-07-04  875  
9ab3a7a0d2b417 Thierry Reding 2014-07-04  876  #ifndef iowrite16_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  877  #define iowrite16_rep iowrite16_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  878  static inline void iowrite16_rep(volatile void __iomem *addr,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  879  				 const void *buffer,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  880  				 unsigned int count)
9ab3a7a0d2b417 Thierry Reding 2014-07-04  881  {
9ab3a7a0d2b417 Thierry Reding 2014-07-04  882  	writesw(addr, buffer, count);
9ab3a7a0d2b417 Thierry Reding 2014-07-04  883  }
9ab3a7a0d2b417 Thierry Reding 2014-07-04  884  #endif
9ab3a7a0d2b417 Thierry Reding 2014-07-04  885  
9ab3a7a0d2b417 Thierry Reding 2014-07-04  886  #ifndef iowrite32_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  887  #define iowrite32_rep iowrite32_rep
9ab3a7a0d2b417 Thierry Reding 2014-07-04  888  static inline void iowrite32_rep(volatile void __iomem *addr,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  889  				 const void *buffer,
9ab3a7a0d2b417 Thierry Reding 2014-07-04  890  				 unsigned int count)
9ab3a7a0d2b417 Thierry Reding 2014-07-04  891  {
9ab3a7a0d2b417 Thierry Reding 2014-07-04 @892  	writesl(addr, buffer, count);
9ab3a7a0d2b417 Thierry Reding 2014-07-04  893  }
9ab3a7a0d2b417 Thierry Reding 2014-07-04  894  #endif
9e44fb1816dba8 Horia Geantă   2016-05-19  895  

:::::: The code at line 833 was first introduced by commit
:::::: 9ab3a7a0d2b417773e8e8a880fc3a69f7fc1f57a asm-generic/io.h: Implement generic {read,write}s*()

:::::: TO: Thierry Reding <treding@nvidia.com>
:::::: CC: Thierry Reding <treding@nvidia.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-22 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-22 14:19 [stffrdhrn:starfive-bad-dcache-flush 5/39] include/asm-generic/io.h:833:9: warning: passing argument 1 of '__raw_readsb' discards 'const' qualifier from pointer target type kernel test robot

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.