Page MenuHomeFreeBSD

Various style fixes.
ClosedPublic

Authored by jhb on Jan 22 2016, 12:11 AM.
Tags
None
Referenced Files
F105783570: D5025.diff
Fri, Dec 20, 3:43 PM
Unknown Object (File)
Nov 18 2024, 2:28 PM
Unknown Object (File)
Oct 31 2024, 5:25 PM
Unknown Object (File)
Oct 8 2024, 7:08 AM
Unknown Object (File)
Oct 8 2024, 7:07 AM
Unknown Object (File)
Oct 8 2024, 7:06 AM
Unknown Object (File)
Oct 8 2024, 7:06 AM
Unknown Object (File)
Oct 8 2024, 7:06 AM
Subscribers

Details

Summary

Various style fixes.

  • Wrap long lines.
  • Fix indentation.
  • Remove excessive parens.
  • Whitespace fixes in struct definitions.

This is probably not exhaustive, but it hits some of them. I kept the
'struct<tab>foo bar' style since it was far more dominant in this file
compared to 'struct foo<tab>bar'.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2277
Build 2286: arc lint + arc unit

Event Timeline

jhb retitled this revision from to Various style fixes..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added a reviewer: kib.
kib edited edge metadata.
kib added inline comments.
sys/kern/vfs_aio.c
145–146

Bruce (strongly) suggests to put description string on the new line, even if previous line is under-filled.

This revision is now accepted and ready to land.Jan 22 2016, 3:32 AM
sys/kern/vfs_aio.c
145–146

Ok, I will fix all of them that aren't and commit.

jhb edited edge metadata.
  • Put each sysctl description on its own line.
This revision now requires review to proceed.Jan 26 2016, 9:18 PM
This revision was automatically updated to reflect the committed changes.