Page MenuHomeFreeBSD

hwpmc_mod.c: whitespace style cleanup
ClosedPublic

Authored by mhorne on Jun 13 2023, 5:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 15, 8:40 AM
Unknown Object (File)
Apr 26 2024, 7:37 AM
Unknown Object (File)
Apr 26 2024, 7:33 AM
Unknown Object (File)
Apr 26 2024, 7:03 AM
Unknown Object (File)
Apr 25 2024, 11:43 PM
Unknown Object (File)
Jan 14 2024, 8:54 AM
Unknown Object (File)
Dec 20 2023, 6:52 AM
Unknown Object (File)
Oct 31 2023, 10:24 AM
Subscribers

Details

Summary

Handle a few things related to spacing:

  • Remove redundant/superfluous blank lines (and add a couple where helpful)
  • Add spacing around binary operators
  • Remove spacing after casts and before goto labels
  • Adjustments for line width of 80 chars
  • Tab/space character issues

Diff Detail

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

Event Timeline

sys/dev/hwpmc/hwpmc_mod.c
1792

Consider keeping this blank line, as it visually separates exit processing steps from the rest of the function?

jkoshy added inline comments.
sys/dev/hwpmc/hwpmc_mod.c
4999

Consider keeping this blank line to preserve visual separation?

5327

Consider keeping this blank line, for better visual separation of exit processing from the rest of the function?

This revision is now accepted and ready to land.Jun 14 2023, 9:42 AM
This revision was automatically updated to reflect the committed changes.
mhorne marked 3 inline comments as done.