* linux-next: manual merge of the battery tree with the leds-lj tree
@ 2024-07-09 3:34 Stephen Rothwell
2024-07-09 6:17 ` Stephen Rothwell
2024-07-10 8:07 ` Hans de Goede
0 siblings, 2 replies; 5+ messages in thread
From: Stephen Rothwell @ 2024-07-09 3:34 UTC (permalink / raw)
To: Sebastian Reichel, Lee Jones
Cc: Hans de Goede, Linux Kernel Mailing List, Linux Next Mailing List,
Thomas Weißschuh
[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]
Hi all,
Today's linux-next merge of the battery tree got a conflict in:
include/linux/leds.h
between commit:
6b0d3355e5a5 ("leds: class: Add flag to avoid automatic renaming of LED devices")
from the leds-lj tree and commit:
5607ca92e627 ("leds: core: Add led_mc_set_brightness() function")
from the battery tree.
I assume that the bit number valuse don;t actually matter, right?
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc include/linux/leds.h
index 99f87587a132,517b6198df07..000000000000
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@@ -107,7 -107,7 +107,8 @@@ struct led_classdev
#define LED_BRIGHT_HW_CHANGED BIT(21)
#define LED_RETAIN_AT_SHUTDOWN BIT(22)
#define LED_INIT_DEFAULT_TRIGGER BIT(23)
-#define LED_MULTI_COLOR BIT(24)
+#define LED_REJECT_NAME_CONFLICT BIT(24)
++#define LED_MULTI_COLOR BIT(25)
/* set_brightness_work / blink_timer flags, atomic, private. */
unsigned long work_flags;
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: linux-next: manual merge of the battery tree with the leds-lj tree
2024-07-09 3:34 linux-next: manual merge of the battery tree with the leds-lj tree Stephen Rothwell
@ 2024-07-09 6:17 ` Stephen Rothwell
2024-07-09 9:23 ` Lee Jones
2024-07-10 8:07 ` Hans de Goede
1 sibling, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2024-07-09 6:17 UTC (permalink / raw)
To: Sebastian Reichel, Lee Jones
Cc: Hans de Goede, Linux Kernel Mailing List, Linux Next Mailing List,
Thomas Weißschuh
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
Hi all,
On Tue, 9 Jul 2024 13:34:20 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the battery tree got a conflict in:
>
> include/linux/leds.h
>
> between commit:
>
> 6b0d3355e5a5 ("leds: class: Add flag to avoid automatic renaming of LED devices")
This is also in the mfd tree.
> from the leds-lj tree and commit:
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: linux-next: manual merge of the battery tree with the leds-lj tree
2024-07-09 6:17 ` Stephen Rothwell
@ 2024-07-09 9:23 ` Lee Jones
2024-07-09 12:26 ` Stephen Rothwell
0 siblings, 1 reply; 5+ messages in thread
From: Lee Jones @ 2024-07-09 9:23 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Sebastian Reichel, Hans de Goede, Linux Kernel Mailing List,
Linux Next Mailing List, Thomas Weißschuh
On Tue, 09 Jul 2024, Stephen Rothwell wrote:
> Hi all,
>
> On Tue, 9 Jul 2024 13:34:20 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Today's linux-next merge of the battery tree got a conflict in:
> >
> > include/linux/leds.h
> >
> > between commit:
> >
> > 6b0d3355e5a5 ("leds: class: Add flag to avoid automatic renaming of LED devices")
>
> This is also in the mfd tree.
That's intentional. It's a shared branch.
Same commit ID, right?
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: linux-next: manual merge of the battery tree with the leds-lj tree
2024-07-09 9:23 ` Lee Jones
@ 2024-07-09 12:26 ` Stephen Rothwell
0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2024-07-09 12:26 UTC (permalink / raw)
To: Lee Jones
Cc: Sebastian Reichel, Hans de Goede, Linux Kernel Mailing List,
Linux Next Mailing List, Thomas Weißschuh
[-- Attachment #1: Type: text/plain, Size: 707 bytes --]
Hi Lee,
On Tue, 9 Jul 2024 10:23:37 +0100 Lee Jones <lee@kernel.org> wrote:
>
> On Tue, 09 Jul 2024, Stephen Rothwell wrote:
>
> > Hi all,
> >
> > On Tue, 9 Jul 2024 13:34:20 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > >
> > > Today's linux-next merge of the battery tree got a conflict in:
> > >
> > > include/linux/leds.h
> > >
> > > between commit:
> > >
> > > 6b0d3355e5a5 ("leds: class: Add flag to avoid automatic renaming of LED devices")
> >
> > This is also in the mfd tree.
>
> That's intentional. It's a shared branch.
>
> Same commit ID, right?
Yeah, not a problem, I was just noting for completeness.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-next: manual merge of the battery tree with the leds-lj tree
2024-07-09 3:34 linux-next: manual merge of the battery tree with the leds-lj tree Stephen Rothwell
2024-07-09 6:17 ` Stephen Rothwell
@ 2024-07-10 8:07 ` Hans de Goede
1 sibling, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2024-07-10 8:07 UTC (permalink / raw)
To: Stephen Rothwell, Sebastian Reichel, Lee Jones
Cc: Linux Kernel Mailing List, Linux Next Mailing List,
Thomas Weißschuh
Hi Stephen,
On 7/9/24 5:34 AM, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the battery tree got a conflict in:
>
> include/linux/leds.h
>
> between commit:
>
> 6b0d3355e5a5 ("leds: class: Add flag to avoid automatic renaming of LED devices")
>
> from the leds-lj tree and commit:
>
> 5607ca92e627 ("leds: core: Add led_mc_set_brightness() function")
>
> from the battery tree.
>
> I assume that the bit number valuse don;t actually matter, right?
Correct, which bit is used for which flag does not matter.
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
Thank you.
Regards,
Hans
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-07-10 8:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-09 3:34 linux-next: manual merge of the battery tree with the leds-lj tree Stephen Rothwell
2024-07-09 6:17 ` Stephen Rothwell
2024-07-09 9:23 ` Lee Jones
2024-07-09 12:26 ` Stephen Rothwell
2024-07-10 8:07 ` Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox