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
F173918099: D55002.id171350.diff
Tue, Sep 29, 8:36 AM
Unknown Object (File)
Mon, Sep 28, 9:13 AM
Unknown Object (File)
Thu, Sep 17, 6:35 AM
Unknown Object (File)
Aug 30 2026, 5:29 PM
Unknown Object (File)
Aug 26 2026, 9:29 PM
Unknown Object (File)
Aug 25 2026, 1:41 AM
Unknown Object (File)
Aug 23 2026, 12:03 AM
Unknown Object (File)
Aug 19 2026, 5:33 PM
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