Page MenuHomeFreeBSD

linuxkpi whitespace cleanup
ClosedPublic

Authored by emaste on Mar 23 2018, 2:47 PM.
Tags
None
Referenced Files
F109606391: D14807.diff
Fri, Feb 7, 8:47 AM
Unknown Object (File)
Sat, Jan 25, 9:49 PM
Unknown Object (File)
Thu, Jan 23, 6:55 PM
Unknown Object (File)
Fri, Jan 17, 3:58 PM
Unknown Object (File)
Sun, Jan 12, 3:54 PM
Unknown Object (File)
Nov 24 2024, 11:33 PM
Unknown Object (File)
Nov 21 2024, 12:26 AM
Unknown Object (File)
Nov 21 2024, 12:17 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Posting for review as a heads-up / coordinate with any WIP

Looks ok to me. I pointed out a bunch of style bugs in the modified lines, but if you prefer to just commit the mechanical change it's ok to ignore me. I'd like the linuxkpi to follow style(9) more carefully.

sys/compat/linuxkpi/common/include/linux/device.h
536

Looks like there's an extra tab here.

sys/compat/linuxkpi/common/include/linux/jiffies.h
41

There should be a tab after #define.

sys/compat/linuxkpi/common/include/linux/kobject.h
72

Continuing lines should be indented by four spaces.

sys/compat/linuxkpi/common/include/linux/list.h
170

There should be a tab after #define.

438

While here you could add parens.

sys/compat/linuxkpi/common/include/linux/pci.h
470

Add parens? Ditto below.

686

Should be indented by four spaces.

748

The indentation is wrong, ditto in pcie_cap_has_rtctl().

831

Parens?

sys/compat/linuxkpi/common/include/linux/usb.h
68

The whitespace still looks weird here, but that might just be an artifact of phabricator.

sys/compat/linuxkpi/common/include/net/ipv6.h
67

Wrong indentation.

This revision is now accepted and ready to land.Mar 23 2018, 2:54 PM

There are currently no big changes pending.
Make sure you MFC these changes to 11-stable aswell.
Feel free to fix simple style issues in the lines you are touching.

This revision was automatically updated to reflect the committed changes.
emaste marked 7 inline comments as done.
sys/compat/linuxkpi/common/include/linux/list.h
438

I left these for now as Linuxulator appears to be mostly paren-less return style; most likely the whole thing should be done in one commit.