mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| bcmgenet.c | ||
| bcmgenet.h | ||
| bcmgenet_wol.c | ||
| bcmmii.c | ||