public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Cc: kbuild-all@lists.01.org, Andrew Lunn <andrew@lunn.ch>,
	Vivien Didelot <vivien.didelot@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Chris Healy <cphealy@gmail.com>,
	Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Subject: Re: [PATCH] mv88e6xxx: Add serdes Rx statistics
Date: Wed, 25 Dec 2019 06:17:35 +0800	[thread overview]
Message-ID: <201912250656.5vtkCiCE%lkp@intel.com> (raw)
In-Reply-To: <20191223055324.26396-1-nikita.yoush@cogentembedded.com>

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

Hi Nikita,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]
[cannot apply to net/master sparc-next/master v5.5-rc3 next-20191220]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Nikita-Yushchenko/mv88e6xxx-Add-serdes-Rx-statistics/20191225-033913
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git ac80010fc94eb0680d9a432b639583bd7ac29066
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=c6x 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/net/dsa/mv88e6xxx/serdes.c: In function 'mv88e6390_serdes_power':
>> drivers/net/dsa/mv88e6xxx/serdes.c:506:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
      ret = mv88e6390_serdes_power_sgmii(chip, lane, up);
      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mv88e6xxx/serdes.c:507:2: note: here
     case MV88E6XXX_PORT_STS_CMODE_XAUI:
     ^~~~

vim +506 drivers/net/dsa/mv88e6xxx/serdes.c

   495	
   496	int mv88e6390_serdes_power(struct mv88e6xxx_chip *chip, int port, u8 lane,
   497				   bool up)
   498	{
   499		u8 cmode = chip->ports[port].cmode;
   500		int ret = 0;
   501	
   502		switch (cmode) {
   503		case MV88E6XXX_PORT_STS_CMODE_SGMII:
   504		case MV88E6XXX_PORT_STS_CMODE_1000BASEX:
   505		case MV88E6XXX_PORT_STS_CMODE_2500BASEX:
 > 506			ret = mv88e6390_serdes_power_sgmii(chip, lane, up);
   507		case MV88E6XXX_PORT_STS_CMODE_XAUI:
   508		case MV88E6XXX_PORT_STS_CMODE_RXAUI:
   509			ret = mv88e6390_serdes_power_10g(chip, lane, up);
   510		}
   511	
   512		if (!ret && up)
   513			ret = mv88e6390_serdes_enable_checker(chip, lane);
   514	
   515		return ret;
   516	}
   517	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50722 bytes --]

      parent reply	other threads:[~2019-12-24 22:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-23  5:53 [PATCH] mv88e6xxx: Add serdes Rx statistics Nikita Yushchenko
2019-12-23  8:45 ` Andrew Lunn
2019-12-24 22:17 ` 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=201912250656.5vtkCiCE%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=cphealy@gmail.com \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nikita.yoush@cogentembedded.com \
    --cc=vivien.didelot@gmail.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