mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Icenowy Zheng <icenowy@aosc.io>
Cc: kbuild-all@01.org,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Chen-Yu Tsai <wens@csie.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Corentin Labbe <clabbe.montjoie@gmail.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-sunxi@googlegroups.com, Icenowy Zheng <icenowy@aosc.xyz>
Subject: Re: [PATCH v2 3/4] net: phy: realtek: add disable RX internal delay mode
Date: Thu, 24 Aug 2017 10:35:50 +0800	[thread overview]
Message-ID: <201708241013.Evo4jDXf%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170822040400.12166-4-icenowy@aosc.io>

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

Hi Icenowy,

[auto build test WARNING on net-next/master]
[also build test WARNING on v4.13-rc6 next-20170823]
[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/Icenowy-Zheng/Workaround-broken-RTL8211E-on-some-Pine64-boards/20170823-234405
config: x86_64-randconfig-b0-08240928 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/phy/realtek.c: In function 'rtl8211e_config_init':
>> drivers/net/phy/realtek.c:130: warning: unused variable 'of_node'

vim +/of_node +130 drivers/net/phy/realtek.c

   126	
   127	static int rtl8211e_config_init(struct phy_device *phydev)
   128	{
   129		struct device *dev = &phydev->mdio.dev;
 > 130		struct device_node *of_node = dev->of_node;
   131		int ret;
   132	
   133		ret = genphy_config_init(phydev);
   134		if (ret < 0)
   135			return ret;
   136	
   137		if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) {
   138			/* Disable the RX internal delay here.
   139			 *
   140			 * All the magic numbers are not documented on RTL8211E
   141			 * datasheet. They're said to be from Realtek by Pine64.
   142			 */
   143			phy_write(phydev, RTL8211_PAGE_SELECT, RTL8211E_EXT_PAGE);
   144			phy_write(phydev, RTL8211E_EXT_PAGE_SELECT, 0xa4);
   145			phy_write(phydev, 0x1c, 0xb591);
   146	
   147			/* Restore to default page 0 */
   148			phy_write(phydev, RTL8211_PAGE_SELECT, 0);
   149		}
   150	
   151		return 0;
   152	}
   153	

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

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

  parent reply	other threads:[~2017-08-24  2:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22  4:03 [PATCH v2 0/4] Workaround broken RTL8211E on some Pine64+ boards Icenowy Zheng
2017-08-22  4:03 ` [PATCH v2 1/4] net: stmmac: dwmac-sun8i: support RGMII modes with PHY internal delay Icenowy Zheng
2017-08-22  4:03 ` [PATCH v2 2/4] net: phy: realtek: change macro name for page select register Icenowy Zheng
2017-08-22  4:03 ` [PATCH v2 3/4] net: phy: realtek: add disable RX internal delay mode Icenowy Zheng
2017-08-22 13:39   ` Andrew Lunn
2017-08-24  8:05     ` icenowy
2017-08-24 13:12       ` Andrew Lunn
2017-08-24  2:35   ` kbuild test robot [this message]
2017-08-22  4:04 ` [PATCH v2 4/4] arm64: allwinner: a64: disable the RTL8211E internal RX delay on Pine64+ Icenowy Zheng

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=201708241013.Evo4jDXf%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=clabbe.montjoie@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=icenowy@aosc.io \
    --cc=icenowy@aosc.xyz \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=netdev@vger.kernel.org \
    --cc=wens@csie.org \
    /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®