From: Dan Carpenter Date: Wed, 3 Jul 2013 22:08:08 +0000 (-0700) Subject: Documentation/CodingStyle: allow multiple return statements per function X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b57a0505e750b3d7b2d39e9823b276d8ca1a08fe;p=pandora-kernel.git Documentation/CodingStyle: allow multiple return statements per function A surprising number of newbies interpret this section to mean that only one return statement is allowed per function. Part of the problem is that the "one return statement per function" rule is an actual style guideline that people are used to from other projects. Signed-off-by: Dan Carpenter Cc: Eduardo Valentin Cc: Rob Landley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed