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)
Sun, May 10, 9:27 AM
Unknown Object (File)
Sun, May 10, 9:20 AM
Unknown Object (File)
Sat, May 9, 5:05 PM
Unknown Object (File)
Sat, May 9, 5:03 PM
Unknown Object (File)
Wed, Apr 29, 9:20 AM
Unknown Object (File)
Wed, Apr 29, 9:12 AM
Unknown Object (File)
Sat, Apr 25, 12:37 PM
Unknown Object (File)
Apr 7 2026, 10:55 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 Not Applicable
Unit
Tests Not Applicable