Page MenuHomeFreeBSD

improve style
ClosedPublic

Authored by kczekirda on Jan 31 2017, 12:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 16, 5:20 AM
Unknown Object (File)
Mon, Oct 13, 6:37 PM
Unknown Object (File)
Mon, Oct 13, 6:37 PM
Unknown Object (File)
Mon, Oct 13, 6:37 PM
Unknown Object (File)
Mon, Oct 13, 6:37 PM
Unknown Object (File)
Mon, Oct 13, 5:16 AM
Unknown Object (File)
Sun, Oct 12, 4:02 PM
Unknown Object (File)
Sun, Oct 12, 2:46 PM
Subscribers
None

Details

Summary

no functional change

Sponsored by: Oktawave

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kczekirda retitled this revision from to replacing spaces by tabs.
kczekirda updated this object.
kczekirda edited the test plan for this revision. (Show Details)
kczekirda added reviewers: oshogbo, bapt.
oshogbo requested changes to this revision.Feb 8 2017, 11:58 PM
oshogbo edited edge metadata.

Missing lines which need some love:
64, 130, 133, 134, 145, 155, 157, 166, 178, 427,

/usr/src/sys/boot/i386/libi386/pxe.c
224

[tab]printf(
[tab][4 spaces]args,

Described in styl(9).

228

up

231

up

250

4 spaces, not tab

257–258

Missing tab.

257–258

missing tab.
[tab]if (pxe_debug)
[tab][tab]sth.
style(9)

343–345

Sth, is wrong here, you can't have two } on same level ;(

353–354

MIssing tab, there are a lot missing tabs afters ifs, from this point, you will see them:

You can't have
if (sth)
sth2;

You need to have
if (sth)

sth2;
396

The same mistake with print as above.

This revision now requires changes to proceed.Feb 8 2017, 11:58 PM
kczekirda retitled this revision from replacing spaces by tabs to improve style.
kczekirda edited edge metadata.
kczekirda marked 9 inline comments as done.

oshogbo's comments fixed and some new improvements

oshogbo edited edge metadata.

It's looks good.

This revision is now accepted and ready to land.Feb 24 2017, 11:30 PM
This revision was automatically updated to reflect the committed changes.