Re: [patch] Documentation: allow multiple return statements perfunction

From: Rob Landley
Date: Thu May 16 2013 - 17:59:15 EST


On 05/15/2013 12:20:21 PM, Dan Carpenter wrote:
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@xxxxxxxxxx>

Ack, please forward to trivial tree.

Rob--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/