]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: hisax: Fix pnp_irq's error checking for setup_elsa_isapnp
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 16 Nov 2017 04:27:21 +0000 (09:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2017 13:31:15 +0000 (22:31 +0900)
commitdd1f40aa8498227e8d87d0f4210f192ea92f874b
tree2392e205de536472432b1c3eb2adfe353b9b70d9
parent4ba65e3e08693ef104a3f979b22b2c69dda4838e
isdn: hisax: Fix pnp_irq's error checking for setup_elsa_isapnp

The pnp_irq() function returns -1 if an error occurs.
pnp_irq() error checking for zero is not correct.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/elsa.c