[ovs-dev] [PATCH] checkpatch.py: Add check for "xxx" in comments.

Ben Pfaff blp at ovn.org
Wed Jan 24 17:14:47 UTC 2018


On Wed, Jan 24, 2018 at 01:55:18PM +0000, Stokes, Ian wrote:
> > -----Original Message-----
> > From: ovs-dev-bounces at openvswitch.org [mailto:ovs-dev-
> > bounces at openvswitch.org] On Behalf Of Justin Pettit
> > Sent: Wednesday, January 24, 2018 2:31 AM
> > To: dev at openvswitch.org
> > Subject: [ovs-dev] [PATCH] checkpatch.py: Add check for "xxx" in comments.
> > 
> > "xxx" is often used to indicate items that the developer wanted to look at
> > again before committing.  Flag those as a warning.
> 
> Does this mean that code that contains 'xxx' should not be accepted? I guess ideally we'd want a clean run from the checkpatch script when submitting/reviewing patches.

I guess that clean "checkpatch" is ideal, but I apply a lot of patches
that do give checkpatch warnings because checkpatch isn't perfect.  I
think of checkpatch as something that raises possible issues that a
human should look at.


More information about the dev mailing list