gigaset: fix possible oops in error handling
authorTilman Schmidt <tilman@imap.cc>
Wed, 13 May 2009 12:44:17 +0000 (12:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 03:51:24 +0000 (20:51 -0700)
commit42e3d611158faa2d372ccfb1e17bfde13935de68
tree3018163e3181dc639e4a9d81554f354745e3feca
parent528efc6a54a9e4c03488ee72988567991c9476ba
gigaset: fix possible oops in error handling

Use pr_warning() / pr_err() instead of dev_warn() / dev_err() in two
places where the dev pointer isn't guaranteed to be valid.

Impact: error handling bugfix
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/interface.c
drivers/isdn/gigaset/proc.c