Re: [PATCH v2 2/3] net: stmmac: Add interconnect support
From: Andrew Lunn
Date: Wed Jun 26 2024 - 09:14:21 EST
> + plat->axi_icc_path = devm_of_icc_get(&pdev->dev, "axi");
> + if (IS_ERR(plat->axi_icc_path)) {
> + ret = (void *)plat->axi_icc_path;
Casting to a void * seems odd. ERR_PTR()?
Andrew