* Re: [PATCH net-next v4 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH
[not found] <20250318205735.122590-4-prabhakar.mahadev-lad.rj@bp.renesas.com>
@ 2025-03-20 0:29 ` kernel test robot
2025-03-20 10:01 ` Lad, Prabhakar
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-03-20 0:29 UTC (permalink / raw)
To: Prabhakar, Andrew Lunn, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Philipp Zabel, Geert Uytterhoeven, Magnus Damm,
Russell King (Oracle), Giuseppe Cavallaro, Jose Abreu
Cc: llvm, oe-kbuild-all, netdev, devicetree, linux-kernel,
linux-renesas-soc, Prabhakar, Biju Das, Fabrizio Castro,
Lad Prabhakar
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: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250320/202503200755.DoMipQnf-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250320/202503200755.DoMipQnf-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/202503200755.DoMipQnf-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c:125:7: error: use of undeclared identifier 'STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP'
125 | STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP |
| ^
1 error generated.
vim +/STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP +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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next v4 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH
2025-03-20 0:29 ` [PATCH net-next v4 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH kernel test robot
@ 2025-03-20 10:01 ` Lad, Prabhakar
0 siblings, 0 replies; 2+ messages in thread
From: Lad, Prabhakar @ 2025-03-20 10:01 UTC (permalink / raw)
To: kernel test robot
Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Philipp Zabel, Geert Uytterhoeven, Magnus Damm,
Russell King (Oracle), Giuseppe Cavallaro, Jose Abreu, llvm,
oe-kbuild-all, netdev, devicetree, linux-kernel,
linux-renesas-soc, Biju Das, Fabrizio Castro, Lad Prabhakar
Hi,
On Thu, Mar 20, 2025 at 12:29 AM kernel test robot <lkp@intel.com> wrote:
>
> 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: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250320/202503200755.DoMipQnf-lkp@intel.com/config)
> compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250320/202503200755.DoMipQnf-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/202503200755.DoMipQnf-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c:125:7: error: use of undeclared identifier 'STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP'
> 125 | STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP |
> | ^
> 1 error generated.
>
The dependent patch [0] has now merged into net-next, with this we
shouldn't be able to see this build issue.
[0] https://web.git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=0c1f1eb65425
Cheers,
Prabhakar
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-20 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250318205735.122590-4-prabhakar.mahadev-lad.rj@bp.renesas.com>
2025-03-20 0:29 ` [PATCH net-next v4 3/3] net: stmmac: Add DWMAC glue layer for Renesas GBETH kernel test robot
2025-03-20 10:01 ` Lad, Prabhakar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox