-Wmissing-prototypes warnings in user-mode linux

Jani Nikula jani.nikula at intel.com
Tue Mar 5 02:34:39 PST 2024


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.

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.


BR,
Jani.


[1] https://lore.kernel.org/r/170963008487.503981.6735326012843985651@8e613ede5ea5



-- 
Jani Nikula, Intel



More information about the linux-um mailing list