ISDN: Add check for return value of pnp_activate_dev()
authorKarsten Keil <kkeil@linux-pingi.de>
Thu, 12 Jul 2012 07:01:10 +0000 (07:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 16:40:54 +0000 (09:40 -0700)
commit5b999fd04af95e2cb624aaf6a7637561572b2d96
tree7652915d0d5a8e9e27b1252da1e1c7e8c700a8b7
parent7be7e93268447cbb42fa0e6939b6372c156a1ad5
ISDN: Add check for return value of pnp_activate_dev()

pnp_activate_dev() return value needs to be checked to make sure that
following calls calls to the PNP functions do work correctly.
Fix for report #44491 on bugzilla.kernel.org.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/isurf.c