]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit987f63811af7387e8c004701fd233129aca9f62e
tree3018163e3181dc639e4a9d81554f354745e3feca
parent62cf36a701f6d9b90f77050ef3b6b0611cd3119c
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