linux-stable/drivers/ptp
Breno Leitao c2e719bcaa ptp: Use ratelimite for freerun error message
[ Upstream commit e9a7795e75 ]

Replace pr_err() with pr_err_ratelimited() in ptp_clock_settime() to
prevent log flooding when the physical clock is free running, which
happens on some of my hosts. This ensures error messages are
rate-limited and improves kernel log readability.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250613-ptp-v1-1-ee44260ce9e2@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:28:24 +02:00
..
Kconfig
Makefile
ptp_chardev.c
ptp_clock.c ptp: Use ratelimite for freerun error message 2025-08-28 16:28:24 +02:00
ptp_clockmatrix.c
ptp_clockmatrix.h
ptp_dfl_tod.c
ptp_dte.c
ptp_idt82p33.c
ptp_idt82p33.h
ptp_ines.c
ptp_kvm_arm.c
ptp_kvm_common.c
ptp_kvm_x86.c
ptp_mock.c
ptp_ocp.c
ptp_pch.c
ptp_private.h ptp: prevent possible ABBA deadlock in ptp_clock_freerun() 2025-08-28 16:28:14 +02:00
ptp_qoriq_debugfs.c
ptp_qoriq.c
ptp_sysfs.c
ptp_vclock.c ptp: prevent possible ABBA deadlock in ptp_clock_freerun() 2025-08-28 16:28:14 +02:00
ptp_vmw.c