* linux-next: manual merge of the char-misc tree with the iio-fixes tree
@ 2024-10-23 3:10 Stephen Rothwell
2024-10-23 18:17 ` Javier Carrasco
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2024-10-23 3:10 UTC (permalink / raw)
To: Greg KH, Arnd Bergmann, Jonathan Cameron
Cc: Javier Carrasco, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hi all,
Today's linux-next merge of the char-misc tree got a conflict in:
drivers/iio/light/veml6030.c
between commit:
de9981636774 ("iio: light: veml6030: fix microlux value calculation")
from the iio-fixes tree and commit:
ed59fc90f38a ("iio: light: veml6030: drop processed info for white channel")
from the char-misc tree.
I fixed it up (the latter removed the line updated by the former) 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
[-- 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 char-misc tree with the iio-fixes tree
2024-10-23 3:10 linux-next: manual merge of the char-misc tree with the iio-fixes tree Stephen Rothwell
@ 2024-10-23 18:17 ` Javier Carrasco
2024-10-24 17:41 ` Jonathan Cameron
0 siblings, 1 reply; 5+ messages in thread
From: Javier Carrasco @ 2024-10-23 18:17 UTC (permalink / raw)
To: Stephen Rothwell, Greg KH, Arnd Bergmann, Jonathan Cameron
Cc: Linux Kernel Mailing List, Linux Next Mailing List
On 23/10/2024 05:10, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the char-misc tree got a conflict in:
>
> drivers/iio/light/veml6030.c
>
> between commit:
>
> de9981636774 ("iio: light: veml6030: fix microlux value calculation")
>
> from the iio-fixes tree and commit:
>
> ed59fc90f38a ("iio: light: veml6030: drop processed info for white channel")
>
> from the char-misc tree.
>
> I fixed it up (the latter removed the line updated by the former) 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.
>
Hi Stephen,
I doubled checked the status of the driver in linux-next, and everything
looks as it should: the first commit applied as a single chunk, as its
second chunk affects lines that the second commit removed.
Thank you for fixing it up.
Best regards,
Javier Carrasco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-next: manual merge of the char-misc tree with the iio-fixes tree
2024-10-23 18:17 ` Javier Carrasco
@ 2024-10-24 17:41 ` Jonathan Cameron
2024-10-24 18:39 ` Javier Carrasco
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Cameron @ 2024-10-24 17:41 UTC (permalink / raw)
To: Javier Carrasco
Cc: Stephen Rothwell, Greg KH, Arnd Bergmann, Jonathan Cameron,
Linux Kernel Mailing List, Linux Next Mailing List, linux-iio
On Wed, 23 Oct 2024 20:17:30 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> On 23/10/2024 05:10, Stephen Rothwell wrote:
> > Hi all,
> >
> > Today's linux-next merge of the char-misc tree got a conflict in:
> >
> > drivers/iio/light/veml6030.c
> >
> > between commit:
> >
> > de9981636774 ("iio: light: veml6030: fix microlux value calculation")
> >
> > from the iio-fixes tree and commit:
> >
> > ed59fc90f38a ("iio: light: veml6030: drop processed info for white channel")
> >
> > from the char-misc tree.
> >
> > I fixed it up (the latter removed the line updated by the former) 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.
> >
>
>
> Hi Stephen,
>
> I doubled checked the status of the driver in linux-next, and everything
> looks as it should: the first commit applied as a single chunk, as its
> second chunk affects lines that the second commit removed.
>
> Thank you for fixing it up.
Not quite. This was a lucky merge issue as it highlighted something I'd
messed up.
A rare case of a fuzzy application of a patch picking the wrong block but still
giving a very plausible looking diff that fooled me.
I picked up the fix via a different tree from where you expected.
In char-misc-next / iio/togreg there is only one instance of this code block because
the larger driver rework removed one of the two that was in the tree that
iio-fixes is based on (effectively mainline).
The fix got applied to the one that is going away (which is going away because
the scale makes no sense on the intensity channel) not the illuminance / IIO_LIGHT
channel that was intended.
I've move it to the right block with the side effect that the merge conflict
should go away. Javier, please check iio.git/fixes-togreg to be 100% sure
I haven't messed it up again.
Thanks Stephen for your hard work on linux-next!
Jonathan
>
> Best regards,
> Javier Carrasco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-next: manual merge of the char-misc tree with the iio-fixes tree
2024-10-24 17:41 ` Jonathan Cameron
@ 2024-10-24 18:39 ` Javier Carrasco
2024-10-25 16:08 ` Jonathan Cameron
0 siblings, 1 reply; 5+ messages in thread
From: Javier Carrasco @ 2024-10-24 18:39 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Stephen Rothwell, Greg KH, Arnd Bergmann, Jonathan Cameron,
Linux Kernel Mailing List, Linux Next Mailing List, linux-iio
On 24/10/2024 19:41, Jonathan Cameron wrote:
> On Wed, 23 Oct 2024 20:17:30 +0200
> Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
>
>> On 23/10/2024 05:10, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Today's linux-next merge of the char-misc tree got a conflict in:
>>>
>>> drivers/iio/light/veml6030.c
>>>
>>> between commit:
>>>
>>> de9981636774 ("iio: light: veml6030: fix microlux value calculation")
>>>
>>> from the iio-fixes tree and commit:
>>>
>>> ed59fc90f38a ("iio: light: veml6030: drop processed info for white channel")
>>>
>>> from the char-misc tree.
>>>
>>> I fixed it up (the latter removed the line updated by the former) 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.
>>>
>>
>>
>> Hi Stephen,
>>
>> I doubled checked the status of the driver in linux-next, and everything
>> looks as it should: the first commit applied as a single chunk, as its
>> second chunk affects lines that the second commit removed.
>>
>> Thank you for fixing it up.
>
> Not quite. This was a lucky merge issue as it highlighted something I'd
> messed up.
>
> A rare case of a fuzzy application of a patch picking the wrong block but still
> giving a very plausible looking diff that fooled me.
>
> I picked up the fix via a different tree from where you expected.
> In char-misc-next / iio/togreg there is only one instance of this code block because
> the larger driver rework removed one of the two that was in the tree that
> iio-fixes is based on (effectively mainline).
>
> The fix got applied to the one that is going away (which is going away because
> the scale makes no sense on the intensity channel) not the illuminance / IIO_LIGHT
> channel that was intended.
>
> I've move it to the right block with the side effect that the merge conflict
> should go away. Javier, please check iio.git/fixes-togreg to be 100% sure
> I haven't messed it up again.
>
> Thanks Stephen for your hard work on linux-next!
>
> Jonathan
>
>>
>> Best regards,
>> Javier Carrasco
>
What I see in iio.git/fixes-togreg is right in the sense that the fix
fro the processed value (commit 63dd163cd61dd) is only applied to the
processed value of the IIO_LIGHT channel, and not to IIO_INTENSITY.
The processed value of the IIO_INTENSITY channel should be then dropped
at some point with the other patch, as it has already been done in
linux-next/master.
Best regards,
Javier Carrasco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: linux-next: manual merge of the char-misc tree with the iio-fixes tree
2024-10-24 18:39 ` Javier Carrasco
@ 2024-10-25 16:08 ` Jonathan Cameron
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Cameron @ 2024-10-25 16:08 UTC (permalink / raw)
To: Javier Carrasco
Cc: Jonathan Cameron, Stephen Rothwell, Greg KH, Arnd Bergmann,
Linux Kernel Mailing List, Linux Next Mailing List, linux-iio
On Thu, 24 Oct 2024 20:39:57 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> On 24/10/2024 19:41, Jonathan Cameron wrote:
> > On Wed, 23 Oct 2024 20:17:30 +0200
> > Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> >
> >> On 23/10/2024 05:10, Stephen Rothwell wrote:
> >>> Hi all,
> >>>
> >>> Today's linux-next merge of the char-misc tree got a conflict in:
> >>>
> >>> drivers/iio/light/veml6030.c
> >>>
> >>> between commit:
> >>>
> >>> de9981636774 ("iio: light: veml6030: fix microlux value calculation")
> >>>
> >>> from the iio-fixes tree and commit:
> >>>
> >>> ed59fc90f38a ("iio: light: veml6030: drop processed info for white channel")
> >>>
> >>> from the char-misc tree.
> >>>
> >>> I fixed it up (the latter removed the line updated by the former) 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.
> >>>
> >>
> >>
> >> Hi Stephen,
> >>
> >> I doubled checked the status of the driver in linux-next, and everything
> >> looks as it should: the first commit applied as a single chunk, as its
> >> second chunk affects lines that the second commit removed.
> >>
> >> Thank you for fixing it up.
> >
> > Not quite. This was a lucky merge issue as it highlighted something I'd
> > messed up.
> >
> > A rare case of a fuzzy application of a patch picking the wrong block but still
> > giving a very plausible looking diff that fooled me.
> >
> > I picked up the fix via a different tree from where you expected.
> > In char-misc-next / iio/togreg there is only one instance of this code block because
> > the larger driver rework removed one of the two that was in the tree that
> > iio-fixes is based on (effectively mainline).
> >
> > The fix got applied to the one that is going away (which is going away because
> > the scale makes no sense on the intensity channel) not the illuminance / IIO_LIGHT
> > channel that was intended.
> >
> > I've move it to the right block with the side effect that the merge conflict
> > should go away. Javier, please check iio.git/fixes-togreg to be 100% sure
> > I haven't messed it up again.
> >
> > Thanks Stephen for your hard work on linux-next!
> >
> > Jonathan
> >
> >>
> >> Best regards,
> >> Javier Carrasco
> >
>
> What I see in iio.git/fixes-togreg is right in the sense that the fix
> fro the processed value (commit 63dd163cd61dd) is only applied to the
> processed value of the IIO_LIGHT channel, and not to IIO_INTENSITY.
>
> The processed value of the IIO_INTENSITY channel should be then dropped
> at some point with the other patch, as it has already been done in
> linux-next/master.
>
Yes. We may want to separately chase back dropping the processed
IIO_INTENSITY later given the issues that are left there.
Once the change is upstream, I'd be fine with that as a backported
fix.
Jonathan
> Best regards,
> Javier Carrasco
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-25 16:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 3:10 linux-next: manual merge of the char-misc tree with the iio-fixes tree Stephen Rothwell
2024-10-23 18:17 ` Javier Carrasco
2024-10-24 17:41 ` Jonathan Cameron
2024-10-24 18:39 ` Javier Carrasco
2024-10-25 16:08 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).