Re: [RFC PATCH] checkpatch: correctly detect lines of help text

From: Randy Dunlap
Date: Thu Dec 03 2020 - 13:33:02 EST


On 12/3/20 9:58 AM, Joe Perches wrote:
> On Wed, 2020-12-02 at 10:59 -0800, Randy Dunlap wrote:
>
>> There are also large hunks of block/Kconfig and drivers/hid/Kconfig
>> that don't use any indentation for help text...
>> in case that matters here.
>
> Maybe something like this could help.
>
> Indent the unindented help blocks by 2 spaces and reflow where appropriate.
>
> ---
> block/Kconfig | 105 +++++-----
> drivers/hid/Kconfig | 549 +++++++++++++++++++++++++++-------------------------
> 2 files changed, 335 insertions(+), 319 deletions(-)


LGTM. Thanks.

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

--
~Randy