]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: hisax: Fix pnp_irq's error checking for setup_sedlbauer_isapnp
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 16 Nov 2017 04:27:28 +0000 (09:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2017 13:31:16 +0000 (22:31 +0900)
commitbaea72b1630f1c128c1bf4e5ba71f4b69fb0a58a
treed37e27a370504213dc092b32ec4a31d94d2b7a78
parenta67991cba1d6300ec1a41c1724f977656445cca7
isdn: hisax: Fix pnp_irq's error checking for setup_sedlbauer_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/sedlbauer.c