From: Andy Whitcroft Date: Thu, 16 Oct 2008 05:02:21 +0000 (-0700) Subject: checkpatch: report the real first line of all suspect indents X-Git-Tag: v2.6.28-rc1~486 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d001e4d88a57ba8347b43e3a20412cd6b67fbd7;p=pandora-kernel.git checkpatch: report the real first line of all suspect indents We are currently only reporting syspect indents if the conditional is modified but the indent missmatch could be generated by the body changing, make sure we catch both. Also only report the first line of the body, and more importantly make sure we report the raw copy of the line. Finally report the indent levels to make it easier to understand what is wrong. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed