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)
Oct 11 2024, 7:13 AM
Unknown Object (File)
Oct 11 2024, 7:11 AM
Unknown Object (File)
Oct 1 2024, 2:13 AM
Unknown Object (File)
Sep 22 2024, 2:59 PM
Unknown Object (File)
Sep 17 2024, 6:14 AM
Unknown Object (File)
Sep 11 2024, 6:19 PM
Unknown Object (File)
Sep 5 2024, 9:18 AM
Unknown Object (File)
Aug 15 2024, 8:33 PM
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.