Re: [PATCH v3] checkpatch: Fix checks for Kconfig help text

2017-12-21 Thread Leo Yan
On Sat, Nov 18, 2017 at 04:48:01PM +0800, Leo Yan wrote: > If one patch has Kconfig section, the check script variable '$is_start' > will be set by first 'config' line and the variable '$is_end' is to be > set by the second 'config' line. But patches often has only one > 'config' line so we have no

[PATCH v3] checkpatch: Fix checks for Kconfig help text

2017-11-18 Thread Leo Yan
If one patch has Kconfig section, the check script variable '$is_start' will be set by first 'config' line and the variable '$is_end' is to be set by the second 'config' line. But patches often has only one 'config' line so we have no chance to set '$is_end', as result below condition is invalid an