Skip to content

Commit 3808d28

Browse files
sknseangregkh
authored andcommitted
can: m_can: m_can_handle_lost_msg(): downgrade msg lost in rx message to debug level
[ Upstream commit 58805e9cbc6f6a28f35d90e740956e983a0e036e ] 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]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 9590fa4 commit 3808d28

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
@@ -577,7 +577,7 @@ static int m_can_handle_lost_msg(struct net_device *dev)
577577
struct can_frame *frame;
578578
u32 timestamp = 0;
579579

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

582582
stats->rx_errors++;
583583
stats->rx_over_errors++;

0 commit comments

Comments
 (0)