Re: [PATCH] net: stmmac: Add support for TX/RX channel interrupt
From: Nazle Asmade, Muhammad Nazim Amirul
Date: Mon May 04 2026 - 22:57:45 EST
On 1/5/2026 4:53 am, Andrew Lunn wrote:
> [You don't often get email from andrew@xxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
>> + /* For RX Channel */
>> + for (i = 0; i < MTL_MAX_RX_QUEUES; i++) {
>> + snprintf(irq_name, sizeof(irq_name), "dma_rx%i", i);
>> + irq = platform_get_irq_byname_optional(pdev, irq_name);
>> + if (irq == -EPROBE_DEFER)
>> + return irq;
>> + else if (irq < 0)
>> + break;
>
> It would be good to differentiate between real errors, and it not
> being available. I think -ENOXIO is returned when it does not
> exist. Anything else is a real error?
>
> Andrew
comment have been addressed and updated in v2
https://lore.kernel.org/all/20260505024459.22463-1-muhammad.nazim.amirul.nazle.asmade@xxxxxxxxxx/
Nazim