[Linux-stm32] [PATCH] net: stmmac: platform: Fix misleading interrupt error msg

David Miller davem at davemloft.net
Thu Mar 12 06:04:02 UTC 2020


From: Markus Fuchs <mklntf at gmail.com>
Date: Fri,  6 Mar 2020 17:38:48 +0100

> Not every stmmac based platform makes use of the eth_wake_irq or eth_lpi
> interrupts. Use the platform_get_irq_byname_optional variant for these
> interrupts, so no error message is displayed, if they can't be found.
> Rather print an information to hint something might be wrong to assist
> debugging on platforms which use these interrupts.
> 
> Signed-off-by: Markus Fuchs <mklntf at gmail.com>

What do you mean the error message is misleading right now?

It isn't printing anything out at the moment in this situation.



More information about the Linux-stm32 mailing list