linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
@ 2021-01-02 23:11 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-01-02 23:11 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: kbuild-all, linux-kernel, Frederic Weisbecker, Valentin Schneider

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   eda809aef53426d044b519405d25d9da55319b76
commit: 7fd70c65faacd39628ba5f670be6490010c8132f ARM: irqstat: Get rid of duplicated declaration
date:   6 weeks ago
config: arm-randconfig-p001-20210103 (attached as .config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7fd70c65faacd39628ba5f670be6490010c8132f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7fd70c65faacd39628ba5f670be6490010c8132f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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 >>):

>> drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
      35 | #define REG_OFFSET   0x0e
         | 
   In file included from arch/arm/mach-ixp4xx/include/mach/hardware.h:30,
                    from arch/arm/mach-ixp4xx/include/mach/io.h:15,
                    from arch/arm/include/asm/io.h:198,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:13,
                    from arch/arm/include/asm/hardirq.h:10,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/rtc.h:17,
                    from drivers/rtc/rtc-pcf8523.c:9:
   arch/arm/mach-ixp4xx/include/mach/platform.h:23: note: this is the location of the previous definition
      23 | #define REG_OFFSET 0
         | 


vim +/REG_OFFSET +35 drivers/rtc/rtc-pcf8523.c

f803f0d079ded4 Thierry Reding 2012-12-17  34  
bc3bee02527252 Russell King   2017-09-29 @35  #define REG_OFFSET   0x0e
bc3bee02527252 Russell King   2017-09-29  36  #define REG_OFFSET_MODE BIT(7)
bc3bee02527252 Russell King   2017-09-29  37  

:::::: The code at line 35 was first introduced by commit
:::::: bc3bee0252725240ffa62180d387cc245179c549 rtc: pcf8523: add support for trimming the RTC oscillator

:::::: TO: Russell King <rmk+kernel@armlinux.org.uk>
:::::: CC: Alexandre Belloni <alexandre.belloni@free-electrons.com>

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

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

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

* drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
@ 2021-06-19  2:30 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-06-19  2:30 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: kbuild-all, linux-kernel, Frederic Weisbecker, Valentin Schneider

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

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6fab154a33ba9b3574ba74a86ed085e0ed8454cb
commit: 7fd70c65faacd39628ba5f670be6490010c8132f ARM: irqstat: Get rid of duplicated declaration
date:   7 months ago
config: arm-randconfig-r025-20210619 (attached as .config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7fd70c65faacd39628ba5f670be6490010c8132f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7fd70c65faacd39628ba5f670be6490010c8132f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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 >>):

>> drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
      35 | #define REG_OFFSET   0x0e
         | 
   In file included from arch/arm/mach-ixp4xx/include/mach/hardware.h:30,
                    from arch/arm/mach-ixp4xx/include/mach/io.h:15,
                    from arch/arm/include/asm/io.h:198,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:13,
                    from arch/arm/include/asm/hardirq.h:10,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/rtc.h:17,
                    from drivers/rtc/rtc-pcf8523.c:9:
   arch/arm/mach-ixp4xx/include/mach/platform.h:23: note: this is the location of the previous definition
      23 | #define REG_OFFSET 0
         | 


vim +/REG_OFFSET +35 drivers/rtc/rtc-pcf8523.c

f803f0d079ded4 Thierry Reding 2012-12-17  34  
bc3bee02527252 Russell King   2017-09-29 @35  #define REG_OFFSET   0x0e
bc3bee02527252 Russell King   2017-09-29  36  #define REG_OFFSET_MODE BIT(7)
bc3bee02527252 Russell King   2017-09-29  37  

:::::: The code at line 35 was first introduced by commit
:::::: bc3bee0252725240ffa62180d387cc245179c549 rtc: pcf8523: add support for trimming the RTC oscillator

:::::: TO: Russell King <rmk+kernel@armlinux.org.uk>
:::::: CC: Alexandre Belloni <alexandre.belloni@free-electrons.com>

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

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

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

* drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
@ 2021-06-05 20:49 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-06-05 20:49 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: kbuild-all, linux-kernel, Frederic Weisbecker, Valentin Schneider

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

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e5220dd16778fe21d234a64e36cf50b54110025f
commit: 7fd70c65faacd39628ba5f670be6490010c8132f ARM: irqstat: Get rid of duplicated declaration
date:   6 months ago
config: arm-randconfig-r025-20210606 (attached as .config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7fd70c65faacd39628ba5f670be6490010c8132f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7fd70c65faacd39628ba5f670be6490010c8132f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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 >>):

>> drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
      35 | #define REG_OFFSET   0x0e
         | 
   In file included from arch/arm/mach-ixp4xx/include/mach/hardware.h:30,
                    from arch/arm/mach-ixp4xx/include/mach/io.h:15,
                    from arch/arm/include/asm/io.h:198,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:13,
                    from arch/arm/include/asm/hardirq.h:10,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/rtc.h:17,
                    from drivers/rtc/rtc-pcf8523.c:9:
   arch/arm/mach-ixp4xx/include/mach/platform.h:25: note: this is the location of the previous definition
      25 | #define REG_OFFSET 3
         | 


vim +/REG_OFFSET +35 drivers/rtc/rtc-pcf8523.c

f803f0d079ded4 Thierry Reding 2012-12-17  34  
bc3bee02527252 Russell King   2017-09-29 @35  #define REG_OFFSET   0x0e
bc3bee02527252 Russell King   2017-09-29  36  #define REG_OFFSET_MODE BIT(7)
bc3bee02527252 Russell King   2017-09-29  37  

:::::: The code at line 35 was first introduced by commit
:::::: bc3bee0252725240ffa62180d387cc245179c549 rtc: pcf8523: add support for trimming the RTC oscillator

:::::: TO: Russell King <rmk+kernel@armlinux.org.uk>
:::::: CC: Alexandre Belloni <alexandre.belloni@free-electrons.com>

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

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

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

* drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
@ 2021-02-09  6:23 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-09  6:23 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: kbuild-all, linux-kernel, Frederic Weisbecker, Valentin Schneider

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

Hi Thomas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   61556703b610a104de324e4f061dc6cf7b218b46
commit: 7fd70c65faacd39628ba5f670be6490010c8132f ARM: irqstat: Get rid of duplicated declaration
date:   3 months ago
config: arm-randconfig-r026-20210209 (attached as .config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7fd70c65faacd39628ba5f670be6490010c8132f
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 7fd70c65faacd39628ba5f670be6490010c8132f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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 >>):

>> drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined
      35 | #define REG_OFFSET   0x0e
         | 
   In file included from arch/arm/mach-ixp4xx/include/mach/hardware.h:30,
                    from arch/arm/mach-ixp4xx/include/mach/io.h:15,
                    from arch/arm/include/asm/io.h:198,
                    from include/linux/io.h:13,
                    from include/linux/irq.h:20,
                    from include/asm-generic/hardirq.h:13,
                    from arch/arm/include/asm/hardirq.h:10,
                    from include/linux/hardirq.h:10,
                    from include/linux/interrupt.h:11,
                    from include/linux/rtc.h:17,
                    from drivers/rtc/rtc-pcf8523.c:9:
   arch/arm/mach-ixp4xx/include/mach/platform.h:25: note: this is the location of the previous definition
      25 | #define REG_OFFSET 3
         | 


vim +/REG_OFFSET +35 drivers/rtc/rtc-pcf8523.c

f803f0d079ded4 Thierry Reding 2012-12-17  34  
bc3bee02527252 Russell King   2017-09-29 @35  #define REG_OFFSET   0x0e
bc3bee02527252 Russell King   2017-09-29  36  #define REG_OFFSET_MODE BIT(7)
bc3bee02527252 Russell King   2017-09-29  37  

:::::: The code at line 35 was first introduced by commit
:::::: bc3bee0252725240ffa62180d387cc245179c549 rtc: pcf8523: add support for trimming the RTC oscillator

:::::: TO: Russell King <rmk+kernel@armlinux.org.uk>
:::::: CC: Alexandre Belloni <alexandre.belloni@free-electrons.com>

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

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

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

end of thread, other threads:[~2021-06-19  2:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-02 23:11 drivers/rtc/rtc-pcf8523.c:35: warning: "REG_OFFSET" redefined kernel test robot
2021-02-09  6:23 kernel test robot
2021-06-05 20:49 kernel test robot
2021-06-19  2:30 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).