[PATCH v2 1/2] lib/test_string.c: Make definition less dense

Björn Töpel bjorn at kernel.org
Tue Feb 28 11:41:03 PST 2023


Andy Shevchenko <andy.shevchenko at gmail.com> writes:

> On Tue, Feb 28, 2023 at 8:42 PM Björn Töpel <bjorn at kernel.org> wrote:
>>
>> From: Björn Töpel <bjorn at rivosinc.com>
>>
>> Checkpatch seems to have trouble making sense of the situation when
>> struct definitions, variable definitions, and __initconst marking is
>> done in one go.
>>
>> Let's be nicer to checkpatch, and move the struct definition out,
>> which removes the error.
>
> Not that I'm against the patch, but how hard is it to fix the checkpatch?

Uhm, good one. I'll have a look (the .pl scared me off).



More information about the linux-riscv mailing list