Re: [BUG] checkpatch: non-standard types cannot be declared after '}'

From: Jan Schlien
Date: Wed Dec 30 2020 - 15:09:16 EST


On 30.12.20 19:52, Joe Perches wrote:
> On Wed, 2020-12-30 at 14:36 +0100, Jan Schlien wrote:
>> Hi,
>>
>> I found some odd behavior of checkpatch.pl, which I'm currently using
>> for own projects outside the kernel, but I verified that kernel patches
>> can be affected as well.
>
> Hello Jan.
>
> I've had this patch locally for awhile that I believe fixes this
> and another issue ($stat blocks can start with a close brace).
>
> I've been waiting for Andy to review it in case there's some other
> parsing problem associated with it.

Hello Joe,

Thanks for digging that out promptly. Looks good to me and also fixes my
issue. I cannot argue that I fully understand that function, so no
review but you can add

Tested-by: Jan Schlien <list.lkml@xxxxxxxxxxxxx>

if you like.

Best,
-Jan