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)
Thu, Sep 17, 5:06 AM
Unknown Object (File)
Sat, Sep 12, 9:28 AM
Unknown Object (File)
Tue, Sep 8, 12:35 PM
Unknown Object (File)
Tue, Sep 8, 3:38 AM
Unknown Object (File)
Mon, Sep 7, 7:41 AM
Unknown Object (File)
Thu, Sep 3, 3:58 PM
Unknown Object (File)
Aug 24 2026, 6:13 PM
Unknown Object (File)
Aug 23 2026, 4:29 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