]> git.proxmox.com Git - mirror_ovs.git/commit
checkpatch: Fix handling of line endings.
authorIlya Maximets <i.maximets@samsung.com>
Mon, 15 Apr 2019 13:36:54 +0000 (16:36 +0300)
committerBen Pfaff <blp@ovn.org>
Mon, 15 Apr 2019 19:33:29 +0000 (12:33 -0700)
commit4bee6d8b03e69ac04f1c66d7cb43085114db4f13
treecb46f6ef996db75c66a6cbe226443aef2345026e
parentead94250e38d1bfd04ac15c705cf5333f8dd8fa3
checkpatch: Fix handling of line endings.

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@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
utilities/checkpatch.py