From: Andy Whitcroft Date: Thu, 15 Jan 2009 21:51:04 +0000 (-0800) Subject: checkpatch: handle missing #if open in context X-Git-Tag: v2.6.29-rc2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27506459c5e6ccc8437fca0adb6d3759c883c28;p=pandora-kernel.git checkpatch: handle missing #if open in context If the #if opening statement is not in the context then the context stack can be empty. Handle this by ensuring there is always a blank entry in the stack. Signed-off-by: Andy Whitcroft Tested-by: Dhaval Giani Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed