[bluetooth-next:master 25/28] drivers/clk//samsung/clk-s3c2412.c:28:0: warning: "SWRST" redefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
head:   50d1455b61a78d1f2dfca4b3366ac5925fb04838
commit: d931acd575d6a36730192756bf2cbd14c77fa1bc [25/28] ieee802154: Add CA8210 IEEE 802.15.4 device driver
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d931acd575d6a36730192756bf2cbd14c77fa1bc
        # 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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux