commit | 306708547b566ef6a0ccd470c84568807571885c | [log] [tgz] |
---|---|---|
author | Andy Whitcroft <apw@shadowen.org> | Wed Oct 15 22:02:28 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:36 2008 -0700 |
tree | 028c2ab4d3abefe272cf6ad02e11f10474d0b667 | |
parent | 6f779c18ca74358b6ac8eb8f5d502843fa92be4e [diff] |
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 <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>