[ovs-dev] [PATCH] checkpatch: Fix handling of line endings.

Ben Pfaff blp at ovn.org
Mon Apr 15 19:35:36 UTC 2019


On Mon, Apr 15, 2019 at 04:36:54PM +0300, Ilya Maximets wrote:
> Unlike manual splitting, 'splitlines' correctly handles different
> line endings. Without this change script fails to check files with
> '\r\n' endings treating the whole patch as a header.
> 
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>

Thanks, I applied this to master.

I don't think OVS legitimately has any text files that contain carriage
returns, so it might be worth warning about them.


More information about the dev mailing list