-Wmissing-prototypes warnings in user-mode linux

Jani Nikula jani.nikula at intel.com
Tue Mar 5 05:45:52 PST 2024


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.


Thanks,
Jani.

-- 
Jani Nikula, Intel



More information about the linux-um mailing list