Re: [PATCH v5 13/13] module: Move version support into a separate file

From: Christophe Leroy
Date: Tue Feb 15 2022 - 10:11:35 EST




Le 15/02/2022 à 16:05, Aaron Tomlin a écrit :
> On Sun 2022-02-13 18:29 +0000, Christophe Leroy wrote:
>> I'm not sure you can do that.
>>
>> From commit 8c8ef42aee8f ("module: include other structures in module
>> version check") I understand that module_layout is there for some signature.
>
> Hi Christophe,
>
> I see. In which case, if I understand correctly, we'd have to ignore the
> report from Sparse. I will add a comment to hopefully suggest against
> removal.
>
>

I would add the function's prototype in internal.h to shut up sparse.

Christophe