From: Andy Whitcroft Date: Thu, 16 Oct 2008 05:02:25 +0000 (-0700) Subject: checkpatch: suppress errors triggered by short patch X-Git-Tag: v2.6.28-rc1~479 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dea33496ddc2bf1a50e9def87b4ef14709d8cb6d;p=pandora-kernel.git checkpatch: suppress errors triggered by short patch When the last hunk of a patch is short it will trigger errors from checkpatch: Use of uninitialized value in pattern match (m//) at /usr/local/bin/checkpatch.pl line 394. Use of uninitialized value in concatenation (.) or string at /usr/local/bin/checkpatch.pl line 397. Use of uninitialized value in pattern match (m//) Avoid touching beyond the last line. Reported by Julien Brunel. Signed-off-by: Andy Whitcroft Cc: Julien Brunel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed