Skip to contentSkip to conversation

linux-next: build failure after merge of the pm tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Jul 14, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

In file included from drivers/thermal/tegra/soctherm.c:36:
drivers/thermal/tegra/../thermal_core.h:18:2: error: #warning This header can only be included by the thermal core code [-Werror-cpp]
18 | #warning This header can only be included by the thermal core code

      |  ^~~~~~~

Introduced by commit

bc1bb350b534 ("thermal/core: Hardening the self-encapsulation")

I have used the pm tree from next-20230713 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Daniel,

Quoted 5 lines · Stephen Rothwell

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

Quoted 8 lines

In file included from drivers/thermal/tegra/soctherm.c:36:
drivers/thermal/tegra/../thermal_core.h:18:2: error: #warning This header can only be included by the thermal core code [-Werror-cpp]
18 | #warning This header can only be included by the thermal core code
| ^~~~~~~

Introduced by commit

bc1bb350b534 ("thermal/core: Hardening the self-encapsulation")

I'll drop this patch.  I think that the rest of the series doesn't really depend on it.

Quoted 1 line

I have used the pm tree from next-20230713 for today.

Thanks!

#2 lore raw
Quoted 14 lines · Rafael J

Daniel,

Quoted 10 lines · Stephen Rothwell

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

In file included from drivers/thermal/tegra/soctherm.c:36:
drivers/thermal/tegra/../thermal_core.h:18:2: error: #warning This header can only be included by the thermal core code [-Werror-cpp]
18 | #warning This header can only be included by the thermal core code
| ^~~~~~~

Quoted 6 lines
Quoted 3 lines

Introduced by commit

bc1bb350b534 ("thermal/core: Hardening the self-encapsulation")

I'll drop this patch. I think that the rest of the series doesn't really depend on it.

The second patch in the series does depend on it, so I had to drop them both. Please fix and resend.

Thanks!