mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Zach Brown <zach.brown@ni.com>
Cc: kbuild-all@01.org, f.fainelli@gmail.com,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	josh.cartwright@ni.com, nathan.sullivan@ni.com,
	Zach Brown <zach.brown@ni.com>
Subject: Re: [PATCH] phy, leds: add support for led triggers on phy link state change
Date: Wed, 17 Aug 2016 23:24:08 +0800	[thread overview]
Message-ID: <201608172344.m2o5KCBN%fengguang.wu@intel.com> (raw)
In-Reply-To: <1471443357-2582-1-git-send-email-zach.brown@ni.com>

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

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@osdl.org>
:::::: CC: Jeff Garzik <jgarzik@pobox.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 55820 bytes --]

      reply	other threads:[~2016-08-17 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 14:15 Zach Brown
2016-08-17 15:24 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201608172344.m2o5KCBN%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=f.fainelli@gmail.com \
    --cc=josh.cartwright@ni.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathan.sullivan@ni.com \
    --cc=netdev@vger.kernel.org \
    --cc=zach.brown@ni.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®