summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/netback.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2022-01-13 20:46:07 +0100
committerDavid S. Miller <davem@davemloft.net>2022-01-14 12:20:06 +0100
commit9deb48b53e7f4056c2eaa2dc2ee3338df619e4f6 (patch)
treec016fcf6339bb12d331ba5b01b0e1eff93be083d /drivers/net/xen-netback/netback.c
parentnet_sched: restore "mpu xxx" handling (diff)
downloadlinux-9deb48b53e7f4056c2eaa2dc2ee3338df619e4f6.tar.xz
linux-9deb48b53e7f4056c2eaa2dc2ee3338df619e4f6.zip
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>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions