[ovs-dev] [PATCH] checkpatch: Add check for a whitespace after cast.

Ilya Maximets i.maximets at ovn.org
Fri Nov 27 23:35:27 UTC 2020


On 11/19/20 10:51 AM, Stokes, Ian wrote:
>> Coding style says: "Put a space between the ``()`` used in a cast and
>> the expression whose type is cast: ``(void *) 0``.".
>> This style rule is frequently overlooked.  Let's check for it.
>>
>> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> 
> Hi Ilya,
> 
> Thanks for the patch, it's a nice addition to checkpatch, tested on myside and works as expected, LGTM.
> 
> Acked-by: Ian Stokes <ian.stokes at intel.com>

Thanks!

Applied to master.

Best regards, Ilya Maximets.


More information about the dev mailing list