lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220207094050.25d7a756@canb.auug.org.au>
Date:   Mon, 7 Feb 2022 09:40:50 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc:     Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>,
        Len Brown <len.brown@...el.com>
Subject: linux-next: build warning after merge of the pm tree

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

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ