linux-next: build failure after merge of the pm tree
Subsystems (2)
Hi all,
After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this:
In file included from <command-line>:include/linux/intel_rapl.h:116:19: error: field 'pcap_rapl_online' has incomplete type
enum cpuhp_state pcap_rapl_online;
^~~~~~~~~~~~~~~~Caused by commit
7ebf8eff63b4 ("intel_rapl: introduce struct rapl_if_private")
This was detected by the new test that attempts to build each include file standalone.
I have added the following fix patch for today:
From: Stephen Rothwell <[email protected]>
Date: Mon, 15 Jul 2019 09:56:30 +1000
Subject: [PATCH] intel_rapl: need linux/cpuhotplug.h for enum cpuhp_state
--- include/linux/intel_rapl.h | 1 + 1 file changed, 1 insertion(+)
include/linux/intel_rapl.h +1 -0
@@ -12,6 +12,7 @@#include <linux/types.h> #include <linux/powercap.h> +#include <linux/cpuhotplug.h> enum rapl_domain_type {RAPL_DOMAIN_PACKAGE ,/* entire package/socket */
Signature · 5 lines
2.20.1 -- Cheers, Stephen Rothwell
Hi Stephen,
Quoted 16 lines · CEST Stephen Rothwell
--Sig_/JvAwh/r3+t+V+F.+O2706e.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printableHi all,
After merging the pm tree, today's linux-next build (
x86_64allmodconfig) failed like this:In file included from <command-line>:
include/linux/intel_rapl.h:116:19: error: field 'pcap_rapl_online' has inco= mplete typeenum cpuhp_state pcap_rapl_online; ^~~~~~~~~~~~~~~~
Quoted 8 lines
Caused by commit
7ebf8eff63b4("intel_rapl: introduce structrapl_if_private")This was detected by the new test that attempts to build each include file standalone.
I have added the following fix patch for today:
I've applied this patch on top of the RAPL series and added it to my linux-next branch.
Thanks!
Quoted 36 lines
From: Stephen Rothwell <[email protected]>
Date: Mon, 15 Jul 2019 09:56:30 +1000
Subject: [PATCH]intel_rapl: needlinux/cpuhotplug.hfor enumcpuhp_stateFixes 7ebf8eff63b4 ("intel_rapl: introduce struct rapl_if_private")Signed-off-by Stephen Rothwell <[email protected]>--- include/linux/intel_rapl.h | 1 + 1 file changed, 1 insertion(+)include/linux/intel_rapl.h +0
-0@@ -12,6 +12,7 @@=20
#include <linux/types.h>
#include <linux/powercap.h>
+#include <linux/cpuhotplug.h>
=20
enumrapl_domain_type{
RAPL_DOMAIN_PACKAGE, /* entire package/socket */
--=20
2.20.1--=20
Cheers,
Stephen Rothwell--Sig_/JvAwh/r3+t+V+F.+O2706e.
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature--Sig_/JvAwh/r3+t+V+F.+O2706e.--