]> Git Repo - linux.git/commit
Documentation/CodingStyle: allow multiple return statements per function
authorDan Carpenter <[email protected]>
Wed, 3 Jul 2013 22:08:08 +0000 (15:08 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 Jul 2013 23:08:01 +0000 (16:08 -0700)
commitb57a0505e750b3d7b2d39e9823b276d8ca1a08fe
tree36dc1bdf810168a3509861fd3a0c61ca562ec272
parente68e96d2a7b2391cc1f70e207ec9cbe9d092adc9
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 <[email protected]>
Cc: Eduardo Valentin <[email protected]>
Cc: Rob Landley <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/CodingStyle
This page took 0.052742 seconds and 4 git commands to generate.