Re: [PATCH net-next v4 9/9] net: stmmac: platform: support parsing per channel irq from DT

From: Andrew Lunn
Date: Sun Aug 20 2023 - 15:33:02 EST


> + for (i = 0; i < MTL_MAX_RX_QUEUES; i++) {
> + snprintf(irq_name, sizeof(irq_name), "rx%i", i);
> + stmmac_res->rx_irq[i] = platform_get_irq_byname_optional(pdev, irq_name);
> + if (stmmac_res->rx_irq[i] < 0) {
> + if (stmmac_res->rx_irq[i] == -EPROBE_DEFER)
> + return -EPROBE_DEFER;

Same comment here as i made in a previous patch.

Andrew