Re: [PATCH net v1] mlxbf_gige: return EPROBE_DEFER if PHY IRQ is not available

From: Simon Horman
Date: Mon Jun 16 2025 - 08:45:22 EST


On Fri, Jun 13, 2025 at 06:51:29PM +0000, David Thompson wrote:
> The message "Error getting PHY irq. Use polling instead"
> is emitted when the mlxbf_gige driver is loaded by the
> kernel before the associated gpio-mlxbf driver, and thus
> the call to get the PHY IRQ fails since it is not yet
> available. The driver probe() must return -EPROBE_DEFER
> if acpi_dev_gpio_irq_get_by() returns the same.
>
> Signed-off-by: David Thompson <davthompson@xxxxxxxxxx>
> Reviewed-by: Asmaa Mnebhi <asmaa@xxxxxxxxxx>

Thanks David,

I as a bug fix this needs a Fixes tag, which you can add
by simply replying to this email.

Else we can treat it as an enhancement for net-next.