caif: Replace BUG_ON with WARN_ON.
authorRoar Førde <roar.forde@stericsson.com>
Tue, 6 Dec 2011 12:15:44 +0000 (12:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 22:21:47 +0000 (17:21 -0500)
commitf84ea779c25dabc90956f1c329e5e5c501ea96cc
tree8a66cb38fb4f7d04bf5a1c3405c73802eaac0614
parent095d2a71e51bd2a3e476232156e8d9c2dbc0596d
caif: Replace BUG_ON with WARN_ON.

BUG_ON is too strict in a number of circumstances,
use WARN_ON instead. Protocol errors should not halt the system.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_hsi.c
drivers/net/caif/caif_serial.c
drivers/net/caif/caif_shmcore.c
net/caif/caif_dev.c