From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B96012E2F0B; Tue, 15 Jul 2025 13:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752587163; cv=none; b=ZnwTY8m/9HseCYVe/SG03UXFRGE2eUitfDsD5BAObUG91mlc6giFoQ3rG9oYs+TocXvytym2wmiHUsPUzoNJ69E8wiyF7Q9boRPEq8cBZ7UMFn/4pzl0eQGJPwm4pMeTtRaAJ2tnvlP/mfifrgra0KOrgekFZKtDn4DdgzrMroI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752587163; c=relaxed/simple; bh=IL2WQMmsJIAYa+nlKjgrberE12KX6S9TR7wySrk03v8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rmHv/pjyBm4dVcyQ+p6KnlsL2UVv499KSOQoAAv+snLaVMub/SdXzeWHr0rO/sDt2ISdCMnJcvoPN6Gfvo1RSOghpnxzrZt72x5Qei2fW4OOEn+WRyWrleJRtbEMihFksis4lAmbekMGjF4GBYiHGS9FjeUe5Wh6SuIv9uR8/R4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HuF0rymO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HuF0rymO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BE5EC4CEF6; Tue, 15 Jul 2025 13:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752587163; bh=IL2WQMmsJIAYa+nlKjgrberE12KX6S9TR7wySrk03v8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HuF0rymOxzvsfZEjlzwOFPWQi8G7sYPEiDibELzDQCXsSaZlt3nSwXh9+o5aFqsbf 2d5Hh9g4ZZU6GbWlK7OzFE+yBrSnEmCrFX4/aiRqVpkoabh6Xd3Sc1bNIZctoS8zqg fXR4CIuGxR7QXOs+fGNMvyPlWscMHG6VZX6JV5NA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Vincent Mailhol , Sean Nyekjaer , Marc Kleine-Budde , Sasha Levin Subject: [PATCH 6.15 159/192] can: m_can: m_can_handle_lost_msg(): downgrade msg lost in rx message to debug level Date: Tue, 15 Jul 2025 15:14:14 +0200 Message-ID: <20250715130821.297733595@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250715130814.854109770@linuxfoundation.org> References: <20250715130814.854109770@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sean Nyekjaer [ Upstream commit 58805e9cbc6f6a28f35d90e740956e983a0e036e ] Downgrade the "msg lost in rx" message to debug level, to prevent flooding the kernel log with error messages. Fixes: e0d1f4816f2a ("can: m_can: add Bosch M_CAN controller support") Reviewed-by: Vincent Mailhol Signed-off-by: Sean Nyekjaer Link: https://patch.msgid.link/20250711-mcan_ratelimit-v3-1-7413e8e21b84@geanix.com [mkl: enhance commit message] Signed-off-by: Marc Kleine-Budde Signed-off-by: Sasha Levin --- drivers/net/can/m_can/m_can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index c2c116ce1087c..782131de5ef76 100644 --- a/drivers/net/can/m_can/m_can.c +++ b/drivers/net/can/m_can/m_can.c @@ -665,7 +665,7 @@ static int m_can_handle_lost_msg(struct net_device *dev) struct can_frame *frame; u32 timestamp = 0; - netdev_err(dev, "msg lost in rxf0\n"); + netdev_dbg(dev, "msg lost in rxf0\n"); stats->rx_errors++; stats->rx_over_errors++; -- 2.39.5