Re: [PATCH v3] scripts: checkpatch: Check multiple blank lines when deleting code

2019-03-25 Thread Alex Ghiti
On 3/17/19 11:49 AM, Alex Ghiti wrote: On 3/6/19 2:53 PM, Alexandre Ghiti wrote: By matching only current line starting with '+', we miss the case when deleting code makes consecutive blank lines appear: this patch then makes it possible to detect this case by also matching current line starting

Re: [PATCH v3] scripts: checkpatch: Check multiple blank lines when deleting code

2019-03-17 Thread Alex Ghiti
On 3/6/19 2:53 PM, Alexandre Ghiti wrote: By matching only current line starting with '+', we miss the case when deleting code makes consecutive blank lines appear: this patch then makes it possible to detect this case by also matching current line starting with ' ', which is an already existing