From: kbuild test robot <lkp@intel.com>
To: Joao Pinto <Joao.Pinto@synopsys.com>
Cc: kbuild-all@01.org, davem@davemloft.net, peppe.cavallaro@st.com,
alexandre.torgue@st.com, niklas.cassel@axis.com,
netdev@vger.kernel.org, Joao Pinto <Joao.Pinto@synopsys.com>
Subject: Re: [PATCH v3 net-next 7/9] net: stmicro: prepare irq_status for mtl
Date: Fri, 10 Mar 2017 08:18:30 +0800 [thread overview]
Message-ID: <201703100815.wzfPRsfj%fengguang.wu@intel.com> (raw)
In-Reply-To: <9924f5611f699473d1d2333d585c2ce6bd73dffb.1489055407.git.jpinto@synopsys.com>
[-- Attachment #1: Type: text/plain, Size: 4116 bytes --]
Hi Joao,
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Joao-Pinto/prepare-mac-operations-for-multiple-queues/20170310-062934
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh
All warnings (new ones prefixed by >>):
In file included from arch/sh/include/asm/io.h:26:0,
from include/linux/scatterlist.h:8,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from include/uapi/linux/ethtool.h:18,
from include/linux/ethtool.h:17,
from drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:18:
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c: In function 'dwmac4_irq_mtl_status':
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:422:32: error: 'ioaddr' undeclared (first use in this function)
u32 mtl_int_qx_status = readl(ioaddr + MTL_INT_STATUS);
^
arch/sh/include/mach-common/mach/mangle-port.h:42:23: note: in definition of macro 'ioswabl'
# define ioswabl(x) (x)
^
>> arch/sh/include/asm/io.h:40:47: note: in expansion of macro '__raw_readl'
#define readl_relaxed(c) ({ u32 __v = ioswabl(__raw_readl(c)); __v; })
^~~~~~~~~~~
>> arch/sh/include/asm/io.h:50:31: note: in expansion of macro 'readl_relaxed'
#define readl(a) ({ u32 r_ = readl_relaxed(a); rmb(); r_; })
^~~~~~~~~~~~~
>> drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:422:26: note: in expansion of macro 'readl'
u32 mtl_int_qx_status = readl(ioaddr + MTL_INT_STATUS);
^~~~~
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:422:32: note: each undeclared identifier is reported only once for each function it appears in
u32 mtl_int_qx_status = readl(ioaddr + MTL_INT_STATUS);
^
arch/sh/include/mach-common/mach/mangle-port.h:42:23: note: in definition of macro 'ioswabl'
# define ioswabl(x) (x)
^
>> arch/sh/include/asm/io.h:40:47: note: in expansion of macro '__raw_readl'
#define readl_relaxed(c) ({ u32 __v = ioswabl(__raw_readl(c)); __v; })
^~~~~~~~~~~
>> arch/sh/include/asm/io.h:50:31: note: in expansion of macro 'readl_relaxed'
#define readl(a) ({ u32 r_ = readl_relaxed(a); rmb(); r_; })
^~~~~~~~~~~~~
>> drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:422:26: note: in expansion of macro 'readl'
u32 mtl_int_qx_status = readl(ioaddr + MTL_INT_STATUS);
^~~~~
vim +/readl +422 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
406 x->pcs_speed = SPEED_100;
407 else
408 x->pcs_speed = SPEED_10;
409
410 x->pcs_duplex = (status & GMAC_PHYIF_CTRLSTATUS_LNKMOD_MASK);
411
412 pr_info("Link is Up - %d/%s\n", (int)x->pcs_speed,
413 x->pcs_duplex ? "Full" : "Half");
414 } else {
415 x->pcs_link = 0;
416 pr_info("Link is Down\n");
417 }
418 }
419
420 static int dwmac4_irq_mtl_status(struct mac_device_info *hw, u32 chan)
421 {
> 422 u32 mtl_int_qx_status = readl(ioaddr + MTL_INT_STATUS);
423 void __iomem *ioaddr = hw->pcsr;
424 int ret = 0;
425
426 /* Check MTL Interrupt */
427 if (mtl_int_qx_status & MTL_INT_QX(chan)) {
428 /* read Queue x Interrupt status */
429 u32 status = readl(ioaddr + MTL_CHAN_INT_CTRL(chan));
430
---
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: 44339 bytes --]
next prev parent reply other threads:[~2017-03-10 0:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 11:03 [PATCH v3 net-next 0/9] prepare mac operations for multiple queues Joao Pinto
2017-03-09 11:03 ` [PATCH v3 net-next 1/9] net: stmicro: multiple queues dt configuration Joao Pinto
2017-03-09 11:03 ` [PATCH v3 net-next 2/9] net: stmicro: configure mtl rx and tx algorithms Joao Pinto
2017-03-09 11:03 ` [PATCH v3 net-next 3/9] net: stmicro: configure tx queue weight Joao Pinto
2017-03-09 11:03 ` [PATCH v3 net-next 4/9] net: stmicro: mtl rx queue enabled as dcb or avb Joao Pinto
2017-03-09 12:01 ` Sergei Shtylyov
2017-03-09 11:03 ` [PATCH v3 net-next 5/9] net: stmicro: mapping mtl rx to dma channel Joao Pinto
2017-03-09 11:03 ` [PATCH v3 net-next 6/9] net: stmicro: flow_ctrl functions adapted to mtl Joao Pinto
2017-03-09 11:03 ` [PATCH v3 net-next 7/9] net: stmicro: prepare irq_status for mtl Joao Pinto
2017-03-09 23:08 ` kbuild test robot
2017-03-10 0:18 ` kbuild test robot [this message]
2017-03-09 11:03 ` [PATCH v3 net-next 8/9] net: stmicro: mac debug prepared for multiple queues Joao Pinto
2017-03-09 11:03 ` [PATCH v3 net-next 9/9] net: stmicro: configuration of CBS in case of a TX AVB queue Joao Pinto
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=201703100815.wzfPRsfj%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=Joao.Pinto@synopsys.com \
--cc=alexandre.torgue@st.com \
--cc=davem@davemloft.net \
--cc=kbuild-all@01.org \
--cc=netdev@vger.kernel.org \
--cc=niklas.cassel@axis.com \
--cc=peppe.cavallaro@st.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;
as well as URLs for NNTP newsgroup(s).