-Wmissing-prototypes warnings in user-mode linux

Tiwei Bie tiwei.btw at antgroup.com
Tue Mar 5 06:26:39 PST 2024


On 3/5/24 9:45 PM, Jani Nikula wrote:
> On Tue, 05 Mar 2024, Tiwei Bie <tiwei.btw at antgroup.com> wrote:
>> Thanks for raising this topic!                            
>>                                                               
>> Indeed. To make it easier to review, the current series only addressed
>> the -Wmissing-prototypes warnings that can be fixed straightforwardly (e.g.
>> by turning into static functions or including missing headers). The remaining 
>> -Wmissing-prototypes warnings mainly fall into the following categories:
>>
>> - Symbols defined and used in os-Linux/;                
>> - Symbols defined in os-Linux/, but declared in kernel headers;
>> - Symbols defined in individual files and not called explicitly;
>>
>> My plan was to fix the remaining warnings in followup series. Ultimately,
>> I wish we can let cc treat -Wmissing-prototypes warnings as errors.
> 
> Yay! That's good to hear.
> 
> If you want to get build testing from our CI, using our configs, please
> just Cc: intel-xe at lists.freedesktop.org when sending the patches. You'll
> get the results in reply.

Cool. Will Cc the list in the future. Thanks! :)

Regards,
Tiwei



More information about the linux-um mailing list