From: Andy Whitcroft Date: Thu, 16 Oct 2008 05:02:28 +0000 (-0700) Subject: checkpatch: ensure we only apply checks to the lines within hunks X-Git-Tag: v2.6.28-rc1~475 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=306708547b566ef6a0ccd470c84568807571885c;p=pandora-kernel.git checkpatch: ensure we only apply checks to the lines within hunks We should only apply source checks to lines within hunks. Checks which are anchored in the context may falsly trigger in the commentory. Ensure they only match within valid hunk lines. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed