Page MenuHomeFreeBSD

hwpstate_amd(4): Rename register dump sysctl handler
ClosedPublic

Authored by olce on Sat, Jan 31, 11:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 20, 1:50 PM
Unknown Object (File)
Thu, Feb 19, 2:45 PM
Unknown Object (File)
Sat, Feb 14, 3:25 PM
Unknown Object (File)
Thu, Feb 12, 7:47 AM
Unknown Object (File)
Mon, Feb 9, 2:45 AM
Unknown Object (File)
Fri, Feb 6, 2:37 AM
Unknown Object (File)
Sun, Feb 1, 8:00 PM
Unknown Object (File)
Sun, Feb 1, 2:42 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