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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201608172344.m2o5KCBN%fengguang.wu@intel.com>
Date:	Wed, 17 Aug 2016 23:24:08 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Zach Brown <zach.brown@...com>
Cc:	kbuild-all@...org, f.fainelli@...il.com,
	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	josh.cartwright@...com, nathan.sullivan@...com,
	Zach Brown <zach.brown@...com>
Subject: Re: [PATCH] phy, leds: add support for led triggers on phy link
 state change

Hi Josh,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.8-rc2 next-20160817]
[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/Zach-Brown/phy-leds-add-support-for-led-triggers-on-phy-link-state-change/20160817-221908
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/marvell/skge.c:50:0:
>> drivers/net/ethernet/marvell/skge.h:666:2: error: redeclaration of enumerator 'LED_OFF'
     LED_OFF = 1<<0, /* switch LED off */
     ^~~~~~~
   In file included from include/linux/phy_led_triggers.h:20:0,
                    from include/linux/phy.h:28,
                    from include/net/dsa.h:19,
                    from include/linux/netdevice.h:44,
                    from drivers/net/ethernet/marvell/skge.c:32:
   include/linux/leds.h:29:2: note: previous definition of 'LED_OFF' was here
     LED_OFF  = 0,
     ^~~~~~~
--
>> drivers/staging/rtl8712/rtl8712_led.c:55:2: error: redeclaration of enumerator 'LED_OFF'
     LED_OFF = 2,
     ^~~~~~~
   In file included from include/linux/phy_led_triggers.h:20:0,
                    from include/linux/phy.h:28,
                    from include/net/dsa.h:19,
                    from include/linux/netdevice.h:44,
                    from drivers/staging/rtl8712/osdep_service.h:38,
                    from drivers/staging/rtl8712/drv_types.h:33,
                    from drivers/staging/rtl8712/rtl8712_led.c:29:
   include/linux/leds.h:29:2: note: previous definition of 'LED_OFF' was here
     LED_OFF  = 0,
     ^~~~~~~

vim +/LED_OFF +666 drivers/net/ethernet/marvell/skge.h

baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  660  enum {
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  661  	LED_BLK_ON	= 1<<5,	/* Link LED Blinking On */
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  662  	LED_BLK_OFF	= 1<<4,	/* Link LED Blinking Off */
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  663  	LED_SYNC_ON	= 1<<3,	/* Use Sync Wire to switch LED */
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  664  	LED_SYNC_OFF	= 1<<2,	/* Disable Sync Wire Input */
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  665  	LED_ON	= 1<<1,	/* switch LED on */
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12 @666  	LED_OFF	= 1<<0,	/* switch LED off */
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  667  };
baef58b1 drivers/net/skge.h Stephen Hemminger 2005-05-12  668  
2770b517 drivers/net/skge.h Stephen Hemminger 2005-12-14  669  /* Receive GMAC FIFO (YUKON) */

:::::: The code at line 666 was first introduced by commit
:::::: baef58b1b09ac0e9339e021144b921560482c8bd [netdrvr] new driver skge, for SysKonnect cards

:::::: TO: Stephen Hemminger <shemminger@...l.org>
:::::: CC: Jeff Garzik <jgarzik@...ox.com>

---
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" (55820 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ