Page MenuHomeFreeBSD

hwpstate_amd(4): Rename EPP handler, convert to unsigned int
ClosedPublic

Authored by olce on Jan 31 2026, 11:47 AM.
Tags
None
Referenced Files
F163312326: D55002.diff
Tue, Jul 21, 11:59 PM
Unknown Object (File)
Sat, Jul 18, 9:39 PM
Unknown Object (File)
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Sun, Jul 12, 5:29 AM
Unknown Object (File)
Sat, Jul 11, 7:38 PM
Unknown Object (File)
Mon, Jul 6, 1:22 PM
Unknown Object (File)
Mon, Jul 6, 2:03 AM
Subscribers

Details

Summary

'val' is supposed to be the storage for a sysctl knob of an 'unsigned
int', so consistently don't specify its width.

While here, rename variables in the handler. The new names feel
clearer, and the 'ret' => 'error' rename is to be more in line with our
tradition.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable