Page MenuHomeFreeBSD

hpwmc_amd.c: style improvements
ClosedPublic

Authored by mhorne on Aug 1 2023, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 26 2024, 7:34 AM
Unknown Object (File)
Apr 26 2024, 7:34 AM
Unknown Object (File)
Apr 26 2024, 7:03 AM
Unknown Object (File)
Apr 25 2024, 11:43 PM
Unknown Object (File)
Jan 31 2024, 1:41 PM
Unknown Object (File)
Jan 6 2024, 11:13 PM
Unknown Object (File)
Dec 11 2023, 6:28 AM
Unknown Object (File)
Nov 1 2023, 10:11 PM
Subscribers

Details

Summary
  • Return style
  • Explicit value checks
  • Whitespace formatting
  • Comment formatting
  • Local variable declaration order
  • __unused annotations

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52930
Build 49821: arc lint + arc unit

Event Timeline

mhorne requested review of this revision.Aug 1 2023, 4:23 PM
sys/dev/hwpmc/hwpmc_amd.c
888

This snuck in; fixed locally.

jkoshy added inline comments.
sys/dev/hwpmc/hwpmc_amd.c
987

Add a comment about this being the __i386__ case?

This revision is now accepted and ready to land.Aug 3 2023, 6:00 PM
sys/dev/hwpmc/hwpmc_amd.c
987

The ifdef gets removed in D41274, so I really have no idea why I bothered touching these lines. I'll drop this hunk of the diff before pushing.

This revision was automatically updated to reflect the committed changes.