summaryrefslogtreecommitdiff
path: root/module/elmcan.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/elmcan.c')
-rw-r--r--module/elmcan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/elmcan.c b/module/elmcan.c
index 894bfac..f9f6c72 100644
--- a/module/elmcan.c
+++ b/module/elmcan.c
@@ -874,7 +874,7 @@ static netdev_tx_t elmcan_netdev_start_xmit(struct sk_buff *skb,
/* We shouldn't get here after a hardware fault:
* can_bus_off() calls netif_carrier_off()
*/
- BUG_ON(elm->hw_failure);
+ WARN_ON(elm->hw_failure);
if (elm->tty == NULL
|| elm->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) {