The branch stable/15 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=2e56e447ca70b6fca3ccf5d1b0fb9d19885746b1
commit 2e56e447ca70b6fca3ccf5d1b0fb9d19885746b1 Author: Mitchell Horne <[email protected]> AuthorDate: 2026-04-16 14:13:04 +0000 Commit: Mitchell Horne <[email protected]> CommitDate: 2026-07-09 17:48:52 +0000 clk_fixed: quiet a warning message Frequently there are some unused/unspecified fixed clocks present in a device tree. Each one emits a warning before it fails to attach, which results in (sometimes many) repeated messages which are not user-actionable. Put this warning behind the bootverbose flag. MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56204 (cherry picked from commit 8728e21bd694dbb813c149206c5c89290f9c32f5) --- sys/dev/clk/clk_fixed.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/clk/clk_fixed.c b/sys/dev/clk/clk_fixed.c index f18b8f8904c6..6656aeec473e 100644 --- a/sys/dev/clk/clk_fixed.c +++ b/sys/dev/clk/clk_fixed.c @@ -158,8 +158,10 @@ clk_fixed_probe(device_t dev) switch (clk_type) { case CLK_TYPE_FIXED: if (!OF_hasprop(ofw_bus_get_node(dev), "clock-frequency")) { - device_printf(dev, - "clock-fixed has no clock-frequency\n"); + if (bootverbose) { + device_printf(dev, + "clock-fixed has no clock-frequency\n"); + } return (ENXIO); } device_set_desc(dev, "Fixed clock");
