From: kernel test robot <lkp@intel.com>
To: Prabhakar <prabhakar.csengg@gmail.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
Giuseppe Cavallaro <peppe.cavallaro@st.com>,
Jose Abreu <joabreu@synopsys.com>
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-renesas-soc@vger.kernel.org,
Prabhakar <prabhakar.csengg@gmail.com>,
Biju Das <biju.das.jz@bp.renesas.com>,
Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH net-next v4 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH
Date: Thu, 20 Mar 2025 02:30:45 +0800 [thread overview]
Message-ID: <202503200200.WXMnn3Kq-lkp@intel.com> (raw)
In-Reply-To: <20250318205735.122590-4-prabhakar.mahadev-lad.rj@bp.renesas.com>
Hi Prabhakar,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Prabhakar/dt-bindings-net-dwmac-Increase-maxItems-for-interrupts-and-interrupt-names/20250319-050021
base: net-next/main
patch link: https://lore.kernel.org/r/20250318205735.122590-4-prabhakar.mahadev-lad.rj%40bp.renesas.com
patch subject: [PATCH net-next v4 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250320/202503200200.WXMnn3Kq-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250320/202503200200.WXMnn3Kq-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503200200.WXMnn3Kq-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c: In function 'renesas_gbeth_probe':
>> drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c:125:7: error: 'STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP' undeclared (first use in this function); did you mean 'STMMAC_FLAG_EN_TX_LPI_CLOCKGATING'?
STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
STMMAC_FLAG_EN_TX_LPI_CLOCKGATING
drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c:125:7: note: each undeclared identifier is reported only once for each function it appears in
vim +125 drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c
72
73 static int renesas_gbeth_probe(struct platform_device *pdev)
74 {
75 struct plat_stmmacenet_data *plat_dat;
76 struct stmmac_resources stmmac_res;
77 struct device *dev = &pdev->dev;
78 struct renesas_gbeth *gbeth;
79 unsigned int i;
80 int err;
81
82 err = stmmac_get_platform_resources(pdev, &stmmac_res);
83 if (err)
84 return dev_err_probe(dev, err,
85 "failed to get resources\n");
86
87 plat_dat = devm_stmmac_probe_config_dt(pdev, stmmac_res.mac);
88 if (IS_ERR(plat_dat))
89 return dev_err_probe(dev, PTR_ERR(plat_dat),
90 "dt configuration failed\n");
91
92 gbeth = devm_kzalloc(dev, sizeof(*gbeth), GFP_KERNEL);
93 if (!gbeth)
94 return -ENOMEM;
95
96 plat_dat->num_clks = ARRAY_SIZE(renesas_gbeth_clks);
97 plat_dat->clks = devm_kcalloc(dev, plat_dat->num_clks,
98 sizeof(*plat_dat->clks), GFP_KERNEL);
99 if (!plat_dat->clks)
100 return -ENOMEM;
101
102 for (i = 0; i < plat_dat->num_clks; i++)
103 plat_dat->clks[i].id = renesas_gbeth_clks[i];
104
105 err = devm_clk_bulk_get(dev, plat_dat->num_clks, plat_dat->clks);
106 if (err < 0)
107 return err;
108
109 plat_dat->clk_tx_i = renesas_gbeth_find_clk(plat_dat, "tx");
110 if (!plat_dat->clk_tx_i)
111 return dev_err_probe(dev, -EINVAL,
112 "error finding tx clock\n");
113
114 gbeth->rstc = devm_reset_control_get_exclusive(dev, NULL);
115 if (IS_ERR(gbeth->rstc))
116 return PTR_ERR(gbeth->rstc);
117
118 gbeth->dev = dev;
119 gbeth->regs = stmmac_res.addr;
120 gbeth->plat_dat = plat_dat;
121 plat_dat->bsp_priv = gbeth;
122 plat_dat->set_clk_tx_rate = stmmac_set_clk_tx_rate;
123 plat_dat->clks_config = renesas_gbeth_clks_config;
124 plat_dat->flags |= STMMAC_FLAG_HWTSTAMP_CORRECT_LATENCY |
> 125 STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP |
126 STMMAC_FLAG_SPH_DISABLE;
127
128 err = renesas_gbeth_clks_config(gbeth, true);
129 if (err)
130 return err;
131
132 err = stmmac_dvr_probe(dev, plat_dat, &stmmac_res);
133 if (err)
134 renesas_gbeth_clks_config(gbeth, false);
135
136 return err;
137 }
138
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-19 18:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-18 20:57 [PATCH net-next v4 0/3] Add GBETH glue layer driver for Renesas RZ/V2H(P) SoC Prabhakar
2025-03-18 20:57 ` [PATCH net-next v4 1/3] dt-bindings: net: dwmac: Increase 'maxItems' for 'interrupts' and 'interrupt-names' Prabhakar
2025-03-18 20:57 ` [PATCH net-next v4 2/3] dt-bindings: net: Document support for Renesas RZ/V2H(P) GBETH Prabhakar
2025-03-18 20:57 ` [PATCH net-next v4 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH Prabhakar
2025-03-19 18:30 ` kernel test robot [this message]
2025-03-19 18:41 ` Lad, Prabhakar
2025-03-20 0:29 ` kernel test robot
2025-03-20 10:01 ` Lad, Prabhakar
2025-03-26 12:52 ` [PATCH net-next v4 0/3] Add GBETH glue layer driver for Renesas RZ/V2H(P) SoC Lad, Prabhakar
2025-03-26 13:21 ` Jakub Kicinski
2025-03-26 13:28 ` Andrew Lunn
2025-03-26 13:34 ` Lad, Prabhakar
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=202503200200.WXMnn3Kq-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=biju.das.jz@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=fabrizio.castro.jz@renesas.com \
--cc=geert+renesas@glider.be \
--cc=joabreu@synopsys.com \
--cc=krzk@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=peppe.cavallaro@st.com \
--cc=prabhakar.csengg@gmail.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=rmk+kernel@armlinux.org.uk \
--cc=robh@kernel.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.