Page MenuHomeFreeBSD

clkdom_dump(): improve output text
ClosedPublic

Authored by mhorne on Mar 7 2024, 6:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 29, 10:07 AM
Unknown Object (File)
Sun, Dec 28, 4:03 AM
Unknown Object (File)
Fri, Dec 12, 2:00 AM
Unknown Object (File)
Nov 27 2025, 8:50 AM
Unknown Object (File)
Nov 25 2025, 4:42 PM
Unknown Object (File)
Nov 22 2025, 9:52 PM
Unknown Object (File)
Nov 22 2025, 9:52 PM
Unknown Object (File)
Nov 22 2025, 9:52 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 Passed
Unit
No Test Coverage
Build Status
Buildable 56498
Build 53386: arc lint + arc unit