[ovs-dev] [PATCH 3/3] checkpatch: Check for trailing operators.
Ben Pfaff
blp at ovn.org
Wed Aug 9 20:59:26 UTC 2017
On Wed, Aug 09, 2017 at 01:37:52PM -0700, Joe Stringer wrote:
> The style guide states that lines should not end with '?' or ':'. Check
> for this and report an error.
>
> Signed-off-by: Joe Stringer <joe at ovn.org>
The comment should be updated since the style considers && at the end of
a line to be OK:
> + """Returns TRUE if the current line ends with an operator, eg &&"""
Otherwise:
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list