[PATCH v2 2/3] net: stmmac: Add interconnect support

Andrew Lunn andrew at lunn.ch
Wed Jun 26 06:07:54 PDT 2024


> +	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



More information about the linux-arm-kernel mailing list