diff options
author | Joe Perches <joe@perches.com> | 2013-09-12 01:24:01 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 02:58:48 +0400 |
commit | b34c648bb33ca143b98851fd7fe7250f1875c463 (patch) | |
tree | f3e531f96906eb951677147daf8b15cdbde3a309 /scripts/coccinelle/free | |
parent | f95a7e6a462ed1338bd576ccb557ff86772a0776 (diff) | |
download | linux-b34c648bb33ca143b98851fd7fe7250f1875c463.tar.xz |
checkpatch: better --fix of SPACING errors.
Previous attempt at fixing SPACING errors could make a hash of several
defects.
This patch should make --fix be a lot better at correcting these defects.
Trim left and right sides of these defects appropriately instead of a
somewhat random attempt at it.
Trim left spaces from any following bit of the modified line when only a
single space is required around an operator.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Phil Carmody <phil.carmody@partner.samsung.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/coccinelle/free')
0 files changed, 0 insertions, 0 deletions