Page MenuHomeFreeBSD

clkdom_dump(): improve output text
ClosedPublic

Authored by mhorne on Mar 7 2024, 6:24 PM.
Tags
None
Referenced Files
F82356692: D44267.diff
Sat, Apr 27, 8:40 PM
Unknown Object (File)
Fri, Apr 26, 4:01 AM
Unknown Object (File)
Thu, Apr 25, 5:25 AM
Unknown Object (File)
Fri, Apr 19, 2:52 AM
Unknown Object (File)
Mar 13 2024, 4:29 AM
Unknown Object (File)
Mar 10 2024, 7:24 AM
Unknown Object (File)
Mar 8 2024, 3:30 PM
Subscribers

Details

Summary

If the call to clknode_get_freq() returns an error (unlikely), report
this, rather than printing the error code as the clock frequency.

If the clock has no parent (e.g. a fixed reference clock), print "none"
rather than "(NULL)(-1)". This is a more human-legible presentation of the
same information.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable