2024-02-26 02:29:15

by Stephen Rothwell

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

Hi all,

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

drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
8 | #include <linux/leds-expresswire.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

I have used the backlight tree from next-20240223 for today.

--
Cheers,
Stephen Rothwell


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

2024-03-05 00:18:15

by Stephen Rothwell

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

Hi all,

On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]> wrote:
>
> After merging the backlight tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
> 8 | #include <linux/leds-expresswire.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
>
> I have used the backlight tree from next-20240223 for today.

I am still getting this failure.

--
Cheers,
Stephen Rothwell


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

2024-03-05 09:33:16

by Lee Jones

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

On Tue, 05 Mar 2024, Stephen Rothwell wrote:

> Hi all,
>
> On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]> wrote:
> >
> > After merging the backlight tree, today's linux-next build (x86_64
> > allmodconfig) failed like this:
> >
> > drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
> > 8 | #include <linux/leds-expresswire.h>
> > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > Caused by commit
> >
> > 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
> >
> > I have used the backlight tree from next-20240223 for today.
>
> I am still getting this failure.

I just pushed a bunch of patches.

Please let me know if this is still an issue tomorrow.

--
Lee Jones [李琼斯]

2024-03-05 23:26:26

by Stephen Rothwell

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

Hi Lee,

On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
> On Tue, 05 Mar 2024, Stephen Rothwell wrote:
> > On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]> wrote:
> > >
> > > After merging the backlight tree, today's linux-next build (x86_64
> > > allmodconfig) failed like this:
> > >
> > > drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
> > > 8 | #include <linux/leds-expresswire.h>
> > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> > > Caused by commit
> > >
> > > 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
> > >
> > > I have used the backlight tree from next-20240223 for today.
> >
> > I am still getting this failure.
>
> I just pushed a bunch of patches.

I saw only 3 new ones (forgot to push?) none of which addressed this
problem.

> Please let me know if this is still an issue tomorrow.

The problem is that after Feb 23, you rebased your tree and dropped commit

25ae5f5f4168 ("leds: Introduce ExpressWire library")

which (added the leds-expresswire.h header), but kept commit

48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")

which uses it.

--
Cheers,
Stephen Rothwell


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

2024-03-06 03:04:52

by Stephen Rothwell

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

Hi Lee,

On Wed, 6 Mar 2024 09:55:39 +1100 Stephen Rothwell <[email protected]> wrote:
>
> On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
> > On Tue, 05 Mar 2024, Stephen Rothwell wrote:
> > > On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]> wrote:
> > > >
> > > > After merging the backlight tree, today's linux-next build (x86_64
> > > > allmodconfig) failed like this:
> > > >
> > > > drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
> > > > 8 | #include <linux/leds-expresswire.h>
> > > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > > >
> > > > Caused by commit
> > > >
> > > > 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
> > > >
> > > > I have used the backlight tree from next-20240223 for today.
> > >
> > > I am still getting this failure.
> >
> > I just pushed a bunch of patches.
>
> I saw only 3 new ones (forgot to push?) none of which addressed this
> problem.
>
> > Please let me know if this is still an issue tomorrow.
>
> The problem is that after Feb 23, you rebased your tree and dropped commit
>
> 25ae5f5f4168 ("leds: Introduce ExpressWire library")
>
> which (added the leds-expresswire.h header), but kept commit
>
> 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
>
> which uses it.

Now I see what happened. I have 2 trees from you, the backlight tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git#for-backlight-next)
and the leds-lj tree
(git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git#for-leds-next)
and the former implicitly depends on the latter (and I merge the
backlight tree first). You should make that dependency explicit by
merging (part of) the latter into the former (or something).

--
Cheers,
Stephen Rothwell


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

2024-03-07 08:24:56

by Lee Jones

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

On Wed, 06 Mar 2024, Stephen Rothwell wrote:

> Hi Lee,
>
> On Wed, 6 Mar 2024 09:55:39 +1100 Stephen Rothwell <[email protected]> wrote:
> >
> > On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
> > > On Tue, 05 Mar 2024, Stephen Rothwell wrote:
> > > > On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]> wrote:
> > > > >
> > > > > After merging the backlight tree, today's linux-next build (x86_64
> > > > > allmodconfig) failed like this:
> > > > >
> > > > > drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
> > > > > 8 | #include <linux/leds-expresswire.h>
> > > > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > >
> > > > > Caused by commit
> > > > >
> > > > > 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
> > > > >
> > > > > I have used the backlight tree from next-20240223 for today.
> > > >
> > > > I am still getting this failure.
> > >
> > > I just pushed a bunch of patches.
> >
> > I saw only 3 new ones (forgot to push?) none of which addressed this
> > problem.
> >
> > > Please let me know if this is still an issue tomorrow.
> >
> > The problem is that after Feb 23, you rebased your tree and dropped commit
> >
> > 25ae5f5f4168 ("leds: Introduce ExpressWire library")
> >
> > which (added the leds-expresswire.h header), but kept commit
> >
> > 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
> >
> > which uses it.
>
> Now I see what happened. I have 2 trees from you, the backlight tree
> (git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git#for-backlight-next)
> and the leds-lj tree
> (git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git#for-leds-next)
> and the former implicitly depends on the latter (and I merge the
> backlight tree first). You should make that dependency explicit by
> merging (part of) the latter into the former (or something).

Right. So you build each tree as its merged?

My assumption was that all things come together in -next?

--
Lee Jones [李琼斯]

2024-03-07 09:04:58

by Lee Jones

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

On Thu, 07 Mar 2024, Lee Jones wrote:

> On Wed, 06 Mar 2024, Stephen Rothwell wrote:
>
> > Hi Lee,
> >
> > On Wed, 6 Mar 2024 09:55:39 +1100 Stephen Rothwell <[email protected]> wrote:
> > >
> > > On Tue, 5 Mar 2024 09:17:37 +0000 Lee Jones <[email protected]> wrote:
> > > > On Tue, 05 Mar 2024, Stephen Rothwell wrote:
> > > > > On Mon, 26 Feb 2024 13:28:28 +1100 Stephen Rothwell <[email protected]> wrote:
> > > > > >
> > > > > > After merging the backlight tree, today's linux-next build (x86_64
> > > > > > allmodconfig) failed like this:
> > > > > >
> > > > > > drivers/video/backlight/ktd2801-backlight.c:8:10: fatal error: linux/leds-expresswire.h: No such file or directory
> > > > > > 8 | #include <linux/leds-expresswire.h>
> > > > > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > > >
> > > > > > Caused by commit
> > > > > >
> > > > > > 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
> > > > > >
> > > > > > I have used the backlight tree from next-20240223 for today.
> > > > >
> > > > > I am still getting this failure.
> > > >
> > > > I just pushed a bunch of patches.
> > >
> > > I saw only 3 new ones (forgot to push?) none of which addressed this
> > > problem.
> > >
> > > > Please let me know if this is still an issue tomorrow.
> > >
> > > The problem is that after Feb 23, you rebased your tree and dropped commit
> > >
> > > 25ae5f5f4168 ("leds: Introduce ExpressWire library")
> > >
> > > which (added the leds-expresswire.h header), but kept commit
> > >
> > > 48749e2f14e3 ("backlight: Add Kinetic KTD2801 backlight support")
> > >
> > > which uses it.
> >
> > Now I see what happened. I have 2 trees from you, the backlight tree
> > (git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git#for-backlight-next)
> > and the leds-lj tree
> > (git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git#for-leds-next)
> > and the former implicitly depends on the latter (and I merge the
> > backlight tree first). You should make that dependency explicit by
> > merging (part of) the latter into the former (or something).
>
> Right. So you build each tree as its merged?
>
> My assumption was that all things come together in -next?

Okay, all patches are now shared between both branches.

Let me know if there is still an issue.

--
Lee Jones [李琼斯]

2024-03-07 19:37:33

by Stephen Rothwell

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

Hi Lee,

On Thu, 7 Mar 2024 09:04:46 +0000 Lee Jones <[email protected]> wrote:
>
> On Thu, 07 Mar 2024, Lee Jones wrote:
>
> > Right. So you build each tree as its merged?

More or less. I do some batches of merges (since otherwise it just
takes way to long).

> > My assumption was that all things come together in -next?

This is from my daily summary report:

"Between each merge, the tree was built with a ppc64_defconfig
for powerpc, an allmodconfig for x86_64, a multi_v7_defconfig for arm
and a native build of tools/perf."

> Okay, all patches are now shared between both branches.

Thanks.

> Let me know if there is still an issue.

Will do.

--
Cheers,
Stephen Rothwell


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