lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201510200439.PIfdhyV0%fengguang.wu@intel.com>
Date:	Tue, 20 Oct 2015 04:21:41 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 241/245]
 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c:24:0: warning: "PORT_EN"
 redefined

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   7b4b000951f09cfe3604a6fdf5469894b4e75adb
commit: 876133d3161dcb743983d1f9e5bf247aea2fb0f1 [241/245] net: hisilicon: add OF dependency
config: blackfin-allmodconfig (attached as .config)
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
        git checkout 876133d3161dcb743983d1f9e5bf247aea2fb0f1
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/hisilicon/hix5hd2_gmac.c:24:0: warning: "PORT_EN" redefined [enabled by default]
   arch/blackfin/mach-bf533/include/mach/defBF532.h:431:0: note: this is the location of the previous definition

vim +/PORT_EN +24 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c

57c5bc9a Zhangfei Gao 2014-06-03   8   */
57c5bc9a Zhangfei Gao 2014-06-03   9  
57c5bc9a Zhangfei Gao 2014-06-03  10  #include <linux/module.h>
57c5bc9a Zhangfei Gao 2014-06-03  11  #include <linux/interrupt.h>
57c5bc9a Zhangfei Gao 2014-06-03  12  #include <linux/etherdevice.h>
57c5bc9a Zhangfei Gao 2014-06-03  13  #include <linux/platform_device.h>
57c5bc9a Zhangfei Gao 2014-06-03  14  #include <linux/of_net.h>
57c5bc9a Zhangfei Gao 2014-06-03  15  #include <linux/of_mdio.h>
57c5bc9a Zhangfei Gao 2014-06-03  16  #include <linux/clk.h>
57c5bc9a Zhangfei Gao 2014-06-03  17  #include <linux/circ_buf.h>
57c5bc9a Zhangfei Gao 2014-06-03  18  
57c5bc9a Zhangfei Gao 2014-06-03  19  #define STATION_ADDR_LOW		0x0000
57c5bc9a Zhangfei Gao 2014-06-03  20  #define STATION_ADDR_HIGH		0x0004
57c5bc9a Zhangfei Gao 2014-06-03  21  #define MAC_DUPLEX_HALF_CTRL		0x0008
57c5bc9a Zhangfei Gao 2014-06-03  22  #define MAX_FRM_SIZE			0x003c
57c5bc9a Zhangfei Gao 2014-06-03  23  #define PORT_MODE			0x0040
57c5bc9a Zhangfei Gao 2014-06-03 @24  #define PORT_EN				0x0044
57c5bc9a Zhangfei Gao 2014-06-03  25  #define BITS_TX_EN			BIT(2)
57c5bc9a Zhangfei Gao 2014-06-03  26  #define BITS_RX_EN			BIT(1)
57c5bc9a Zhangfei Gao 2014-06-03  27  #define REC_FILT_CONTROL		0x0064
57c5bc9a Zhangfei Gao 2014-06-03  28  #define BIT_CRC_ERR_PASS		BIT(5)
57c5bc9a Zhangfei Gao 2014-06-03  29  #define BIT_PAUSE_FRM_PASS		BIT(4)
57c5bc9a Zhangfei Gao 2014-06-03  30  #define BIT_VLAN_DROP_EN		BIT(3)
57c5bc9a Zhangfei Gao 2014-06-03  31  #define BIT_BC_DROP_EN			BIT(2)
57c5bc9a Zhangfei Gao 2014-06-03  32  #define BIT_MC_MATCH_EN			BIT(1)

:::::: The code at line 24 was first introduced by commit
:::::: 57c5bc9ad7d799e9507ba6e993398d2c55f03fab net: hisilicon: add hix5hd2 mac driver

:::::: TO: Zhangfei Gao <zhangfei.gao@...aro.org>
:::::: CC: David S. Miller <davem@...emloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (38019 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ