From: Andy Whitcroft Date: Thu, 16 Oct 2008 05:02:17 +0000 (-0700) Subject: checkpatch: switch indent allow plain return X-Git-Tag: v2.6.28-rc1~494 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bdab9e5881fde3bf66528db5b91477ce4b35b3b;p=pandora-kernel.git checkpatch: switch indent allow plain return It is a common and sane idiom to allow a single return on the end of a case statement: switch (...) { case foo: return bar; } Add an exception for this. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed