Hi all, After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/thermal_sysfs.c:22: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/thermal_helpers.c:24: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/gov_step_wise.c:16: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/thermal_of.c:20: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/thermal_core.c:27: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/armada_thermal.c:22: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/hisi_thermal.c:28: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/samsung/../thermal_core.h:15, from drivers/thermal/samsung/exynos_tmu.c:26: drivers/thermal/samsung/../thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/amlogic_thermal.c:31: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/tegra/../thermal_core.h:15, from drivers/thermal/tegra/tegra30-tsensor.c:31: drivers/thermal/tegra/../thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/st/../thermal_core.h:15, from drivers/thermal/st/stm_thermal.c:22: drivers/thermal/st/../thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/thermal_core.h:15, from drivers/thermal/uniphier_thermal.c:20: drivers/thermal/thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ In file included from drivers/thermal/tegra/../thermal_core.h:15, from drivers/thermal/tegra/soctherm.c:36: drivers/thermal/tegra/../thermal_netlink.h:113:71: warning: 'struct cpu_capability' declared inside parameter list will not be visible outside of this definition or declaration 113 | static inline int thermal_genl_cpu_capability_event(int count, struct cpu_capability *caps) | ^~~~~~~~~~~~~~ Introduced by commit e4b1eb24ce5a ("thermal: netlink: Add a new event to notify CPU capabilities change") -- Cheers, Stephen Rothwell
Attachment:
pgps9NepPvXjE.pgp
Description: OpenPGP digital signature