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

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