2023-07-14 01:35:36

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the pm tree

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.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2023-07-14 19:18:21

by Wysocki, Rafael J

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the pm tree

Daniel,

On 7/14/2023 3:00 AM, Stephen Rothwell wrote:
> 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'll drop this patch.  I think that the rest of the series doesn't
really depend on it.


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

Thanks!



2023-07-14 19:18:25

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the pm tree

On Fri, Jul 14, 2023 at 8:20 PM Wysocki, Rafael J
<[email protected]> wrote:
>
> Daniel,
>
> On 7/14/2023 3:00 AM, Stephen Rothwell wrote:
> > 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'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!