All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH net RFC] net: Clear IFF_TX_SKB_SHARING for all Ethernet devices using skb_padto
Date: Thu, 22 Oct 2020 17:24:08 +0800	[thread overview]
Message-ID: <202010221732.GL68uFLj-lkp@intel.com> (raw)
In-Reply-To: <20201022072814.91560-1-xie.he.0141@gmail.com>

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

Hi Xie,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net/master]

url:    https://github.com/0day-ci/linux/commits/Xie-He/net-Clear-IFF_TX_SKB_SHARING-for-all-Ethernet-devices-using-skb_padto/20201022-152945
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 287d35405989cfe0090e3059f7788dc531879a8d
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/faf973b123dfa958067c22adfc9b473906373e5d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Xie-He/net-Clear-IFF_TX_SKB_SHARING-for-all-Ethernet-devices-using-skb_padto/20201022-152945
        git checkout faf973b123dfa958067c22adfc9b473906373e5d
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All error/warnings (new ones prefixed by >>):

   drivers/net/ethernet/arc/emac_arc.c: In function 'emac_arc_probe':
>> drivers/net/ethernet/arc/emac_arc.c:34:5: error: 'struct device' has no member named 'priv_flags'
      34 |  dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |     ^~
--
   drivers/net/ethernet/arc/emac_rockchip.c: In function 'emac_rockchip_probe':
>> drivers/net/ethernet/arc/emac_rockchip.c:110:5: error: 'struct device' has no member named 'priv_flags'
     110 |  dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |     ^~
--
   drivers/net/ethernet/fujitsu/fmvj18x_cs.c: In function 'fmvj18x_probe':
>> drivers/net/ethernet/fujitsu/fmvj18x_cs.c:241:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     241 |     if (!dev)
         |     ^~
   drivers/net/ethernet/fujitsu/fmvj18x_cs.c:244:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     244 |  dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |  ^~~
--
   drivers/net/ethernet/ti/davinci_emac.c: In function 'davinci_emac_probe':
>> drivers/net/ethernet/ti/davinci_emac.c:1794:2: error: 'dev' undeclared (first use in this function); did you mean 'ndev'?
    1794 |  dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |  ^~~
         |  ndev
   drivers/net/ethernet/ti/davinci_emac.c:1794:2: note: each undeclared identifier is reported only once for each function it appears in
--
   drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_probe_dual_emac':
>> drivers/net/ethernet/ti/cpsw.c:1457:2: error: 'dev' undeclared (first use in this function); did you mean 'ndev'?
    1457 |  dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |  ^~~
         |  ndev
   drivers/net/ethernet/ti/cpsw.c:1457:2: note: each undeclared identifier is reported only once for each function it appears in
   drivers/net/ethernet/ti/cpsw.c: In function 'cpsw_probe':
>> drivers/net/ethernet/ti/cpsw.c:1639:5: error: 'struct device' has no member named 'priv_flags'
    1639 |  dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |     ^~
--
   drivers/net/ethernet/ti/cpsw_new.c: In function 'cpsw_create_ports':
>> drivers/net/ethernet/ti/cpsw_new.c:1395:6: error: 'struct device' has no member named 'priv_flags'
    1395 |   dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |      ^~
--
   drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function 'xgene_enet_probe':
>> drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2027:5: error: 'struct device' has no member named 'priv_flags'
    2027 |  dev->priv_flags &= ~IFF_TX_SKB_SHARING;
         |     ^~

vim +34 drivers/net/ethernet/arc/emac_arc.c

    18	
    19	static int emac_arc_probe(struct platform_device *pdev)
    20	{
    21		struct device *dev = &pdev->dev;
    22		struct arc_emac_priv *priv;
    23		phy_interface_t interface;
    24		struct net_device *ndev;
    25		int err;
    26	
    27		if (!dev->of_node)
    28			return -ENODEV;
    29	
    30		ndev = alloc_etherdev(sizeof(struct arc_emac_priv));
    31		if (!ndev)
    32			return -ENOMEM;
    33	
  > 34		dev->priv_flags &= ~IFF_TX_SKB_SHARING;
    35	
    36		platform_set_drvdata(pdev, ndev);
    37		SET_NETDEV_DEV(ndev, dev);
    38	
    39		priv = netdev_priv(ndev);
    40		priv->drv_name = DRV_NAME;
    41	
    42		err = of_get_phy_mode(dev->of_node, &interface);
    43		if (err) {
    44			if (err == -ENODEV)
    45				interface = PHY_INTERFACE_MODE_MII;
    46			else
    47				goto out_netdev;
    48		}
    49	
    50		priv->clk = devm_clk_get(dev, "hclk");
    51		if (IS_ERR(priv->clk)) {
    52			dev_err(dev, "failed to retrieve host clock from device tree\n");
    53			err = -EINVAL;
    54			goto out_netdev;
    55		}
    56	
    57		err = arc_emac_probe(ndev, interface);
    58	out_netdev:
    59		if (err)
    60			free_netdev(ndev);
    61		return err;
    62	}
    63	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

  parent reply	other threads:[~2020-10-22  9:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22  7:28 [PATCH net RFC] net: Clear IFF_TX_SKB_SHARING for all Ethernet devices using skb_padto Xie He
2020-10-22  7:46 ` Xie He
2020-10-22 15:22   ` Jakub Kicinski
2020-10-22 19:59     ` Xie He
2020-10-23  0:44       ` Jakub Kicinski
2020-10-23  1:56         ` Xie He
2020-10-23  2:25           ` Xie He
2020-10-23 17:31             ` Jakub Kicinski
2020-10-22  9:24 ` kernel test robot [this message]
2020-10-22  9:48 ` kernel test robot

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=202010221732.GL68uFLj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.