From: Joe Perches Date: Wed, 11 Sep 2013 21:24:01 +0000 (-0700) Subject: checkpatch: better --fix of SPACING errors. X-Git-Tag: v3.12-rc1~52^2~110 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b34c648bb33ca143b98851fd7fe7250f1875c463;p=pandora-kernel.git 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 Cc: Phil Carmody Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed