Page MenuHomeFreeBSD

hwpstate_amd(4): Rename register dump sysctl handler
AcceptedPublic

Authored by olce on Sat, Jan 31, 11:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 1, 8:00 PM
Unknown Object (File)
Sun, Feb 1, 2:42 PM
Unknown Object (File)
Sun, Feb 1, 1:03 AM
Unknown Object (File)
Sat, Jan 31, 7:48 PM
Unknown Object (File)
Sat, Jan 31, 5:35 PM
Unknown Object (File)
Sat, Jan 31, 5:24 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