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

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/isurf.c