mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:irq/core 13/26] drivers/rtc/rtc-pcf8523.c:35:9: warning: 'REG_OFFSET' macro redefined
@ 2020-12-08 18:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-08 18:43 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: kbuild-all, clang-built-linux, linux-kernel, x86,
	Frederic Weisbecker, Valentin Schneider

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
head:   d14ce74f1fb376ccbbc0b05ded477ada51253729
commit: 7fd70c65faacd39628ba5f670be6490010c8132f [13/26] ARM: irqstat: Get rid of duplicated declaration
config: arm-randconfig-r002-20201208 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a2f922140f5380571fb74179f2bf622b3b925697)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=7fd70c65faacd39628ba5f670be6490010c8132f
        git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
        git fetch --no-tags tip irq/core
        git checkout 7fd70c65faacd39628ba5f670be6490010c8132f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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:9: warning: 'REG_OFFSET' macro redefined [-Wmacro-redefined]
   #define REG_OFFSET   0x0e
           ^
   arch/arm/mach-ixp4xx/include/mach/platform.h:23:9: note: previous definition is here
   #define REG_OFFSET      0
           ^
   1 warning generated.

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: 39619 bytes --]

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

only message in thread, other threads:[~2020-12-08 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 18:43 [tip:irq/core 13/26] drivers/rtc/rtc-pcf8523.c:35:9: warning: 'REG_OFFSET' macro redefined 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

all inboxes | Powered by JetHome®