Page MenuHomeFreeBSD

hwpstate_amd(4): Rename register dump sysctl handler
ClosedPublic

Authored by olce on Jan 31 2026, 11:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 2, 7:18 AM
Unknown Object (File)
Feb 20 2026, 1:50 PM
Unknown Object (File)
Feb 19 2026, 2:45 PM
Unknown Object (File)
Feb 14 2026, 3:25 PM
Unknown Object (File)
Feb 12 2026, 7:47 AM
Unknown Object (File)
Feb 9 2026, 2:45 AM
Unknown Object (File)
Feb 6 2026, 2:37 AM
Unknown Object (File)
Feb 1 2026, 8:00 PM
Subscribers

Details

Summary

While here, rename the callback function and structure to a more
immediately informative name.

While here, remove a superfluous cast and rename the variable containing
the callback data to just 'data' instead of 'req' which can be confusing
(because of CPPC_REQUEST but also the fact that 'req' is a parameter of
sysctl handlers).

No functional change intended.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70272
Build 67155: arc lint + arc unit