[ovs-dev] [PATCH] checkpatch: Fix mis-flagging of division operators as lacking whitespace.

Aaron Conole aconole at redhat.com
Tue Apr 3 20:19:38 UTC 2018


Ben Pfaff <blp at ovn.org> writes:

> The regular expression here would flag any slash that wasn't adjacent to
> an asterisk as missing whitespace.  This fixes the problem.
>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---

Tested-by: Aaron Conole <aconole at redhat.com>

I noticed that one of the raft patches flagged (which I hadn't noticed
when I tested the original change - sorry) for this, and this patch
clears that up.

I'm actually seeing some of 'line lacks whitespace around operator'
being flagged (for instance, '--' looks to cause a flag, and probably
should get some kind of treatment in the future).


More information about the dev mailing list