From: kbuild test robot <lkp@intel.com>
To: xiaofeis <xiaofeis@codeaurora.org>
Cc: kbuild-all@01.org, davem@davemloft.net, vkoul@kernel.org,
netdev@vger.kernel.org, andrew@lunn.ch,
linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org,
vivien.didelot@gmail.com, f.fainelli@gmail.com,
niklas.cassel@linaro.org, xiazha@codeaurora.org,
xiaofeis <xiaofeis@codeaurora.org>
Subject: Re: [PATCH v2] net: dsa: qca8k: enable port flow control
Date: Thu, 25 Jul 2019 01:05:40 +0800 [thread overview]
Message-ID: <201907250152.6Zq1v9Hm%lkp@intel.com> (raw)
In-Reply-To: <1563944576-62844-1-git-send-email-xiaofeis@codeaurora.org>
[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]
Hi xiaofeis,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.3-rc1 next-20190724]
[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/xiaofeis/net-dsa-qca8k-enable-port-flow-control/20190724-221126
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.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.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net//dsa/qca8k.c: In function 'qca8k_port_enable':
>> drivers/net//dsa/qca8k.c:938:19: error: assignment to expression with array type
phy->advertising |= ADVERTISED_Pause | ADVERTISED_Asym_Pause;
^~
vim +938 drivers/net//dsa/qca8k.c
928
929 static int
930 qca8k_port_enable(struct dsa_switch *ds, int port,
931 struct phy_device *phy)
932 {
933 struct qca8k_priv *priv = (struct qca8k_priv *)ds->priv;
934
935 qca8k_port_set_status(priv, port, 1);
936 priv->port_sts[port].enabled = 1;
937
> 938 phy->advertising |= ADVERTISED_Pause | ADVERTISED_Asym_Pause;
939
940 return 0;
941 }
942
---
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: 71365 bytes --]
next prev parent reply other threads:[~2019-07-24 17:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-24 5:02 [PATCH v2] net: dsa: qca8k: enable port flow control xiaofeis
2019-07-24 17:05 ` kbuild test robot [this message]
2019-07-24 17:50 ` Andrew Lunn
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=201907250152.6Zq1v9Hm%lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=bjorn.andersson@linaro.org \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=niklas.cassel@linaro.org \
--cc=vivien.didelot@gmail.com \
--cc=vkoul@kernel.org \
--cc=xiaofeis@codeaurora.org \
--cc=xiazha@codeaurora.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;
as well as URLs for NNTP newsgroup(s).