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
F166364206: D55000.diff
Thu, Aug 13, 4:04 AM
F166339906: D55000.id170835.diff
Thu, Aug 13, 12:23 AM
Unknown Object (File)
Tue, Aug 11, 7:07 PM
Unknown Object (File)
Mon, Aug 10, 11:50 AM
Unknown Object (File)
Sun, Aug 9, 7:14 PM
Unknown Object (File)
Sat, Aug 8, 11:03 AM
Unknown Object (File)
Sat, Aug 8, 9:23 AM
Unknown Object (File)
Sat, Aug 8, 5:22 AM
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 Not Applicable
Unit
Tests Not Applicable