Sergey Shtylyov 9deb48b53e bcmgenet: add WOL IRQ check
The driver neglects to check the result of platform_get_irq_optional()'s
call and blithely passes the negative error codes to devm_request_irq()
(which takes *unsigned* IRQ #), causing it to fail with -EINVAL.
Stop calling devm_request_irq() with the invalid IRQ #s.

Fixes: 8562056f267d ("net: bcmgenet: request Wake-on-LAN interrupt")
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-01-14 11:20:06 +00:00
..
2021-11-19 11:05:21 +00:00
2022-01-09 16:52:18 -08:00
2022-01-14 11:20:06 +00:00
2022-01-09 16:52:18 -08:00
2021-11-20 12:25:56 +00:00
2022-01-07 09:04:21 -08:00
2022-01-09 16:52:18 -08:00
2021-11-12 20:13:28 -08:00