-Wmissing-prototypes warnings in user-mode linux

Johannes Berg johannes at sipsolutions.net
Tue Mar 5 02:35:46 PST 2024


On Tue, 2024-03-05 at 12:34 +0200, Jani Nikula wrote:
> We're seeing a lot of -Wmissing-prototypes warnings when building
> user-mode Linux. For example, our CI hits things like [1], and it's just
> extra noise in the build.

Yeah ...

> I started adding some prototypes, but I lost my way around the arch/
> subdirectory a bit. I'm not always quite sure what should or could be
> included where, or whether a new header should be added instead, etc.,
> so it wasn't going as quickly as I'd hoped.
> 
> Do you perhaps already have plans or, better yet, patches to address
> this? Feels like it should be fairly quick for someone familiar with the
> arch/um codebase.

I think this series addressed most already?

https://patchwork.ozlabs.org/project/linux-um/list/?series=393619

But I haven't checked myself yet.

johannes



More information about the linux-um mailing list