diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-03 15:08:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:08:01 -0700 |
commit | b57a0505e750b3d7b2d39e9823b276d8ca1a08fe (patch) | |
tree | 36dc1bdf810168a3509861fd3a0c61ca562ec272 /fs | |
parent | e68e96d2a7b2391cc1f70e207ec9cbe9d092adc9 (diff) | |
download | op-kernel-dev-b57a0505e750b3d7b2d39e9823b276d8ca1a08fe.zip op-kernel-dev-b57a0505e750b3d7b2d39e9823b276d8ca1a08fe.tar.gz |
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 <dan.carpenter@oracle.com>
Cc: Eduardo Valentin <eduardo.valentin@ti.com>
Cc: Rob Landley <rob@landley.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions