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)
Thu, Feb 13, 6:31 PM
Unknown Object (File)
Wed, Feb 5, 9:17 AM
Unknown Object (File)
Tue, Feb 4, 7:27 PM
Unknown Object (File)
Jan 27 2025, 7:22 PM
Unknown Object (File)
Jan 17 2025, 9:22 PM
Unknown Object (File)
Dec 17 2024, 8:47 AM
Unknown Object (File)
Sep 29 2024, 4:52 PM
Unknown Object (File)
Sep 29 2024, 4: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