Re: [PATCH] checkpatch: suppress false long-line warining

2017-11-27 Thread Joe Perches
On Tue, 2017-11-28 at 05:39 +0300, Yury Norov wrote: > For DOS-formatted patches, extra ^M symbol at the end of line > increases overall line length by 1. > > It triggers unneeded warning if line is exactly 80 chars length. > This patch fixes it. It's may be simpler to just remove the \015 from t

[PATCH] checkpatch: suppress false long-line warining

2017-11-27 Thread Yury Norov
For DOS-formatted patches, extra ^M symbol at the end of line increases overall line length by 1. It triggers unneeded warning if line is exactly 80 chars length. This patch fixes it. Discovered in discussion to this patch: https://lkml.org/lkml/2017/11/25/24 Signed-off-by: Yury Norov --- scri