Skip to content

Commit 58805e9

Browse files
sknseanmarckleinebudde
authored andcommitted
can: m_can: m_can_handle_lost_msg(): downgrade msg lost in rx message to debug level
Downgrade the "msg lost in rx" message to debug level, to prevent flooding the kernel log with error messages. Fixes: e0d1f48 ("can: m_can: add Bosch M_CAN controller support") Reviewed-by: Vincent Mailhol <[email protected]> Signed-off-by: Sean Nyekjaer <[email protected]> Link: https://patch.msgid.link/[email protected] [mkl: enhance commit message] Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 47c8499 commit 58805e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/can/m_can/m_can.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ static int m_can_handle_lost_msg(struct net_device *dev)
665665
struct can_frame *frame;
666666
u32 timestamp = 0;
667667

668-
netdev_err(dev, "msg lost in rxf0\n");
668+
netdev_dbg(dev, "msg lost in rxf0\n");
669669

670670
stats->rx_errors++;
671671
stats->rx_over_errors++;

0 commit comments

Comments
 (0)