Re: [PATCH] rtc: sun6i: extend test coverage
From: kbuild test robot
Date: Wed Feb 01 2017 - 10:31:04 EST
Hi Alexandre,
[auto build test WARNING on abelloni/rtc-next]
[also build test WARNING on next-20170201]
[cannot apply to v4.10-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Alexandre-Belloni/rtc-sun6i-extend-test-coverage/20170201-200542
base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=blackfin
All warnings (new ones prefixed by >>):
>> drivers/clk/samsung/clk-s3c2412.c:28:0: warning: "SWRST" redefined
#define SWRST 0x30
In file included from arch/blackfin/mach-bf533/include/mach/blackfin.h:16:0,
from arch/blackfin/include/asm/irqflags.h:11,
from include/linux/irqflags.h:15,
from arch/blackfin/include/asm/bitops.h:33,
from include/linux/bitops.h:36,
from include/linux/kernel.h:10,
from include/asm-generic/bug.h:13,
from arch/blackfin/include/asm/bug.h:71,
from include/linux/bug.h:4,
from include/linux/io.h:23,
from include/linux/clk-provider.h:14,
from drivers/clk/samsung/clk-s3c2412.c:11:
arch/blackfin/mach-bf533/include/mach/defBF532.h:25:0: note: this is the location of the previous definition
#define SWRST 0xFFC00100 /* Software Reset Register (16-bit) */
--
>> drivers/clk/samsung/clk-s3c2443.c:35:0: warning: "SWRST" redefined
#define SWRST 0x44
In file included from arch/blackfin/mach-bf533/include/mach/blackfin.h:16:0,
from arch/blackfin/include/asm/irqflags.h:11,
from include/linux/irqflags.h:15,
from arch/blackfin/include/asm/bitops.h:33,
from include/linux/bitops.h:36,
from include/linux/kernel.h:10,
from include/asm-generic/bug.h:13,
from arch/blackfin/include/asm/bug.h:71,
from include/linux/bug.h:4,
from include/linux/io.h:23,
from include/linux/clk-provider.h:14,
from drivers/clk/samsung/clk-s3c2443.c:11:
arch/blackfin/mach-bf533/include/mach/defBF532.h:25:0: note: this is the location of the previous definition
#define SWRST 0xFFC00100 /* Software Reset Register (16-bit) */
vim +/SWRST +28 drivers/clk/samsung/clk-s3c2412.c
ca2e90ac Heiko Stuebner 2014-02-25 12 #include <linux/of.h>
ca2e90ac Heiko Stuebner 2014-02-25 13 #include <linux/of_address.h>
ca2e90ac Heiko Stuebner 2014-02-25 14 #include <linux/syscore_ops.h>
e317c194 Heiko Stübner 2014-08-19 15 #include <linux/reboot.h>
ca2e90ac Heiko Stuebner 2014-02-25 16
ca2e90ac Heiko Stuebner 2014-02-25 17 #include <dt-bindings/clock/s3c2412.h>
ca2e90ac Heiko Stuebner 2014-02-25 18
ca2e90ac Heiko Stuebner 2014-02-25 19 #include "clk.h"
ca2e90ac Heiko Stuebner 2014-02-25 20 #include "clk-pll.h"
ca2e90ac Heiko Stuebner 2014-02-25 21
ca2e90ac Heiko Stuebner 2014-02-25 22 #define LOCKTIME 0x00
ca2e90ac Heiko Stuebner 2014-02-25 23 #define MPLLCON 0x04
ca2e90ac Heiko Stuebner 2014-02-25 24 #define UPLLCON 0x08
ca2e90ac Heiko Stuebner 2014-02-25 25 #define CLKCON 0x0c
ca2e90ac Heiko Stuebner 2014-02-25 26 #define CLKDIVN 0x14
ca2e90ac Heiko Stuebner 2014-02-25 27 #define CLKSRC 0x1c
e317c194 Heiko Stübner 2014-08-19 @28 #define SWRST 0x30
ca2e90ac Heiko Stuebner 2014-02-25 29
ca2e90ac Heiko Stuebner 2014-02-25 30 /* list of PLLs to be registered */
ca2e90ac Heiko Stuebner 2014-02-25 31 enum s3c2412_plls {
ca2e90ac Heiko Stuebner 2014-02-25 32 mpll, upll,
ca2e90ac Heiko Stuebner 2014-02-25 33 };
ca2e90ac Heiko Stuebner 2014-02-25 34
ca2e90ac Heiko Stuebner 2014-02-25 35 static void __iomem *reg_base;
ca2e90ac Heiko Stuebner 2014-02-25 36
:::::: The code at line 28 was first introduced by commit
:::::: e317c19470f6d690122519bf9ed1c9f21ea11906 clk: samsung: register restart handlers for s3c2412 and s3c2443
:::::: TO: Heiko Stübner <heiko@xxxxxxxxx>
:::::: CC: Heiko Stuebner <heiko@xxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip