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

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