diff options
| author | Joe Perches <[email protected]> | 2014-08-06 16:11:14 -0700 | 
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-08-06 18:01:28 -0700 | 
| commit | 8b8856f4b102ce148611322465f2ff8932664411 (patch) | |
| tree | 77d03918dadddfdcf920acd3553745f0631093c3 /tools/perf/scripts/python/futex-contention.py | |
| parent | 8d1824780f2f1786db5e0e7a54bbae75340c655c (diff) | |
checkpatch: fix brace style misuses of else and while
Add --fix corrections for ELSE_AFTER_BRACE and WHILE_AFTER_BRACE
misuses.
	if (x) {
		...
	}
	else {
		...
	}
is corrected to
	if (x) {
		...
	} else {
		...
	}
and
	do {
		...
	}
	while (x);
is corrected to
	do {
		...
	} while (x);
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions