diff options
author | norly <ny-git@enpas.org> | 2019-02-19 23:00:11 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2019-02-19 23:00:11 +0100 |
commit | 77e7a60b1bd396456efc111ec0cbe345778b15ad (patch) | |
tree | 4ac3356263d18e737ee5b268d93ca9a9b0741a79 /module | |
parent | 0b1d25e2666db847f3096227ac0b335e197c9d58 (diff) |
Turn BUG_ON() into WARN_ON()
Diffstat (limited to 'module')
-rw-r--r-- | module/elmcan.c | 2 |
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) { |