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
Unknown Object (File)
Sat, Feb 28, 5:16 AM
Unknown Object (File)
Mon, Feb 23, 9:40 AM
Unknown Object (File)
Mon, Feb 23, 9:40 AM
Unknown Object (File)
Mon, Feb 23, 7:25 AM
Unknown Object (File)
Mon, Feb 23, 5:32 AM
Unknown Object (File)
Sun, Feb 22, 8:21 PM
Unknown Object (File)
Sun, Feb 22, 4:44 PM
Unknown Object (File)
Feb 18 2026, 4:58 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70274
Build 67157: arc lint + arc unit