All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
       [not found] <14984537865458@kroah.com>
@ 2017-06-26 18:57   ` Martin Blumenstingl
  0 siblings, 0 replies; 10+ messages in thread
From: Martin Blumenstingl @ 2017-06-26 18:57 UTC (permalink / raw)
  To: gregkh, jic23; +Cc: paolocretaro, linux-amlogic, linux-iio

Hi Greg, Hi Jonathan,

On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>
> This is a note to let you know that I've just added the patch titled
>
>     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>
> to my staging git tree which can be found at
>     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
> in the staging-testing branch.
>
> The patch will show up in the next release of the linux-next tree
> (usually sometime within the next 24 hours during the week.)
>
> The patch will be merged to the staging-next branch sometime soon,
> after it passes testing, and the merge window is open.
>
> If you have any questions about this process, please let me know.
is there a way to drop below patch from your repo?
during testing I found out that the code before and after this patch
leads to a NULL deref. I provided a fix (see [0]) which solves the
crash and the warning as reported by Paolo - and that fix is already
part of v4.12-rc6
so the patch below will cause a merge conflict

> From 6b503b216d1eff4d61a0bc34e09d1fd4d6e0ee79 Mon Sep 17 00:00:00 2001
> From: Paolo Cretaro <paolocretaro@gmail.com>
> Date: Sun, 28 May 2017 13:24:38 +0200
> Subject: iio: adc: meson-saradc: use NULL instead of 0 for pointer
>
> Fix sparse warning: Using plain integer as NULL pointer
>
> Signed-off-by: Paolo Cretaro <paolocretaro@gmail.com>
> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
> ---
>  drivers/iio/adc/meson_saradc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c
> index 81cd39a57fe3..fb3f67a9ae1f 100644
> --- a/drivers/iio/adc/meson_saradc.c
> +++ b/drivers/iio/adc/meson_saradc.c
> @@ -481,7 +481,7 @@ static void meson_sar_adc_clear_fifo(struct iio_dev *indio_dev)
>                 if (!meson_sar_adc_get_fifo_count(indio_dev))
>                         break;
>
> -               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, 0);
> +               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, NULL);
>         }
>  }
>
> --
> 2.13.1
>
>

Regards,
Martin

[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-June/003863.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
@ 2017-06-26 18:57   ` Martin Blumenstingl
  0 siblings, 0 replies; 10+ messages in thread
From: Martin Blumenstingl @ 2017-06-26 18:57 UTC (permalink / raw)
  To: linus-amlogic

Hi Greg, Hi Jonathan,

On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>
> This is a note to let you know that I've just added the patch titled
>
>     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>
> to my staging git tree which can be found at
>     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
> in the staging-testing branch.
>
> The patch will show up in the next release of the linux-next tree
> (usually sometime within the next 24 hours during the week.)
>
> The patch will be merged to the staging-next branch sometime soon,
> after it passes testing, and the merge window is open.
>
> If you have any questions about this process, please let me know.
is there a way to drop below patch from your repo?
during testing I found out that the code before and after this patch
leads to a NULL deref. I provided a fix (see [0]) which solves the
crash and the warning as reported by Paolo - and that fix is already
part of v4.12-rc6
so the patch below will cause a merge conflict

> From 6b503b216d1eff4d61a0bc34e09d1fd4d6e0ee79 Mon Sep 17 00:00:00 2001
> From: Paolo Cretaro <paolocretaro@gmail.com>
> Date: Sun, 28 May 2017 13:24:38 +0200
> Subject: iio: adc: meson-saradc: use NULL instead of 0 for pointer
>
> Fix sparse warning: Using plain integer as NULL pointer
>
> Signed-off-by: Paolo Cretaro <paolocretaro@gmail.com>
> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
> ---
>  drivers/iio/adc/meson_saradc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c
> index 81cd39a57fe3..fb3f67a9ae1f 100644
> --- a/drivers/iio/adc/meson_saradc.c
> +++ b/drivers/iio/adc/meson_saradc.c
> @@ -481,7 +481,7 @@ static void meson_sar_adc_clear_fifo(struct iio_dev *indio_dev)
>                 if (!meson_sar_adc_get_fifo_count(indio_dev))
>                         break;
>
> -               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, 0);
> +               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, NULL);
>         }
>  }
>
> --
> 2.13.1
>
>

Regards,
Martin

[0] http://lists.infradead.org/pipermail/linux-amlogic/2017-June/003863.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
  2017-06-26 18:57   ` Martin Blumenstingl
@ 2017-06-26 19:30     ` Jonathan Cameron
  -1 siblings, 0 replies; 10+ messages in thread
From: Jonathan Cameron @ 2017-06-26 19:30 UTC (permalink / raw)
  To: Martin Blumenstingl, gregkh, jic23; +Cc: paolocretaro, linux-amlogic, linux-iio



On 26 June 2017 19:57:18 BST, Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
>Hi Greg, Hi Jonathan,
>
>On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>>
>> This is a note to let you know that I've just added the patch titled
>>
>>     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>
>> to my staging git tree which can be found at
>>     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
>> in the staging-testing branch.
>>
>> The patch will show up in the next release of the linux-next tree
>> (usually sometime within the next 24 hours during the week.)
>>
>> The patch will be merged to the staging-next branch sometime soon,
>> after it passes testing, and the merge window is open.
>>
>> If you have any questions about this process, please let me know.
>is there a way to drop below patch from your repo?
>during testing I found out that the code before and after this patch
>leads to a NULL deref. I provided a fix (see [0]) which solves the
>crash and the warning as reported by Paolo - and that fix is already
>part of v4.12-rc6
>so the patch below will cause a merge conflict

Sorry my mess up. Will probably fall out in the wash or Greg could revert.  Will have to check
 the merge resolution in Linux next and when Linus pulls if it isn't reverted.  Should be fine
 either way.

Jonathan
>
>> From 6b503b216d1eff4d61a0bc34e09d1fd4d6e0ee79 Mon Sep 17 00:00:00
>2001
>> From: Paolo Cretaro <paolocretaro@gmail.com>
>> Date: Sun, 28 May 2017 13:24:38 +0200
>> Subject: iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>
>> Fix sparse warning: Using plain integer as NULL pointer
>>
>> Signed-off-by: Paolo Cretaro <paolocretaro@gmail.com>
>> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
>> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
>> ---
>>  drivers/iio/adc/meson_saradc.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/iio/adc/meson_saradc.c
>b/drivers/iio/adc/meson_saradc.c
>> index 81cd39a57fe3..fb3f67a9ae1f 100644
>> --- a/drivers/iio/adc/meson_saradc.c
>> +++ b/drivers/iio/adc/meson_saradc.c
>> @@ -481,7 +481,7 @@ static void meson_sar_adc_clear_fifo(struct
>iio_dev *indio_dev)
>>                 if (!meson_sar_adc_get_fifo_count(indio_dev))
>>                         break;
>>
>> -               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, 0);
>> +               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD,
>NULL);
>>         }
>>  }
>>
>> --
>> 2.13.1
>>
>>
>
>Regards,
>Martin
>
>[0]
>http://lists.infradead.org/pipermail/linux-amlogic/2017-June/003863.html

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
@ 2017-06-26 19:30     ` Jonathan Cameron
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Cameron @ 2017-06-26 19:30 UTC (permalink / raw)
  To: linus-amlogic



On 26 June 2017 19:57:18 BST, Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
>Hi Greg, Hi Jonathan,
>
>On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>>
>> This is a note to let you know that I've just added the patch titled
>>
>>     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>
>> to my staging git tree which can be found at
>>     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
>> in the staging-testing branch.
>>
>> The patch will show up in the next release of the linux-next tree
>> (usually sometime within the next 24 hours during the week.)
>>
>> The patch will be merged to the staging-next branch sometime soon,
>> after it passes testing, and the merge window is open.
>>
>> If you have any questions about this process, please let me know.
>is there a way to drop below patch from your repo?
>during testing I found out that the code before and after this patch
>leads to a NULL deref. I provided a fix (see [0]) which solves the
>crash and the warning as reported by Paolo - and that fix is already
>part of v4.12-rc6
>so the patch below will cause a merge conflict

Sorry my mess up. Will probably fall out in the wash or Greg could revert.  Will have to check
 the merge resolution in Linux next and when Linus pulls if it isn't reverted.  Should be fine
 either way.

Jonathan
>
>> From 6b503b216d1eff4d61a0bc34e09d1fd4d6e0ee79 Mon Sep 17 00:00:00
>2001
>> From: Paolo Cretaro <paolocretaro@gmail.com>
>> Date: Sun, 28 May 2017 13:24:38 +0200
>> Subject: iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>
>> Fix sparse warning: Using plain integer as NULL pointer
>>
>> Signed-off-by: Paolo Cretaro <paolocretaro@gmail.com>
>> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
>> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
>> ---
>>  drivers/iio/adc/meson_saradc.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/iio/adc/meson_saradc.c
>b/drivers/iio/adc/meson_saradc.c
>> index 81cd39a57fe3..fb3f67a9ae1f 100644
>> --- a/drivers/iio/adc/meson_saradc.c
>> +++ b/drivers/iio/adc/meson_saradc.c
>> @@ -481,7 +481,7 @@ static void meson_sar_adc_clear_fifo(struct
>iio_dev *indio_dev)
>>                 if (!meson_sar_adc_get_fifo_count(indio_dev))
>>                         break;
>>
>> -               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, 0);
>> +               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD,
>NULL);
>>         }
>>  }
>>
>> --
>> 2.13.1
>>
>>
>
>Regards,
>Martin
>
>[0]
>http://lists.infradead.org/pipermail/linux-amlogic/2017-June/003863.html

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
  2017-06-26 19:30     ` Jonathan Cameron
@ 2017-06-26 21:03       ` Martin Blumenstingl
  -1 siblings, 0 replies; 10+ messages in thread
From: Martin Blumenstingl @ 2017-06-26 21:03 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: gregkh, jic23, paolocretaro, linux-amlogic, linux-iio

On Mon, Jun 26, 2017 at 9:30 PM, Jonathan Cameron
<jic23@jic23.retrosnub.co.uk> wrote:
>
>
> On 26 June 2017 19:57:18 BST, Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
>>Hi Greg, Hi Jonathan,
>>
>>On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>>>
>>> This is a note to let you know that I've just added the patch titled
>>>
>>>     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>>
>>> to my staging git tree which can be found at
>>>     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
>>> in the staging-testing branch.
>>>
>>> The patch will show up in the next release of the linux-next tree
>>> (usually sometime within the next 24 hours during the week.)
>>>
>>> The patch will be merged to the staging-next branch sometime soon,
>>> after it passes testing, and the merge window is open.
>>>
>>> If you have any questions about this process, please let me know.
>>is there a way to drop below patch from your repo?
>>during testing I found out that the code before and after this patch
>>leads to a NULL deref. I provided a fix (see [0]) which solves the
>>crash and the warning as reported by Paolo - and that fix is already
>>part of v4.12-rc6
>>so the patch below will cause a merge conflict
>
> Sorry my mess up. Will probably fall out in the wash or Greg could revert.  Will have to check
>  the merge resolution in Linux next and when Linus pulls if it isn't reverted.  Should be fine
>  either way.
OK, I will re-check this once the everything has landed in Linus' tree
actually it's me who made the mess (by implementing broken stuff in
the first place) - but it will all be fine!

> Jonathan
>>
>>> From 6b503b216d1eff4d61a0bc34e09d1fd4d6e0ee79 Mon Sep 17 00:00:00
>>2001
>>> From: Paolo Cretaro <paolocretaro@gmail.com>
>>> Date: Sun, 28 May 2017 13:24:38 +0200
>>> Subject: iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>>
>>> Fix sparse warning: Using plain integer as NULL pointer
>>>
>>> Signed-off-by: Paolo Cretaro <paolocretaro@gmail.com>
>>> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
>>> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
>>> ---
>>>  drivers/iio/adc/meson_saradc.c | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/iio/adc/meson_saradc.c
>>b/drivers/iio/adc/meson_saradc.c
>>> index 81cd39a57fe3..fb3f67a9ae1f 100644
>>> --- a/drivers/iio/adc/meson_saradc.c
>>> +++ b/drivers/iio/adc/meson_saradc.c
>>> @@ -481,7 +481,7 @@ static void meson_sar_adc_clear_fifo(struct
>>iio_dev *indio_dev)
>>>                 if (!meson_sar_adc_get_fifo_count(indio_dev))
>>>                         break;
>>>
>>> -               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, 0);
>>> +               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD,
>>NULL);
>>>         }
>>>  }
>>>
>>> --
>>> 2.13.1
>>>
>>>
>>
>>Regards,
>>Martin
>>
>>[0]
>>http://lists.infradead.org/pipermail/linux-amlogic/2017-June/003863.html
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
@ 2017-06-26 21:03       ` Martin Blumenstingl
  0 siblings, 0 replies; 10+ messages in thread
From: Martin Blumenstingl @ 2017-06-26 21:03 UTC (permalink / raw)
  To: linus-amlogic

On Mon, Jun 26, 2017 at 9:30 PM, Jonathan Cameron
<jic23@jic23.retrosnub.co.uk> wrote:
>
>
> On 26 June 2017 19:57:18 BST, Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote:
>>Hi Greg, Hi Jonathan,
>>
>>On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>>>
>>> This is a note to let you know that I've just added the patch titled
>>>
>>>     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>>
>>> to my staging git tree which can be found at
>>>     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
>>> in the staging-testing branch.
>>>
>>> The patch will show up in the next release of the linux-next tree
>>> (usually sometime within the next 24 hours during the week.)
>>>
>>> The patch will be merged to the staging-next branch sometime soon,
>>> after it passes testing, and the merge window is open.
>>>
>>> If you have any questions about this process, please let me know.
>>is there a way to drop below patch from your repo?
>>during testing I found out that the code before and after this patch
>>leads to a NULL deref. I provided a fix (see [0]) which solves the
>>crash and the warning as reported by Paolo - and that fix is already
>>part of v4.12-rc6
>>so the patch below will cause a merge conflict
>
> Sorry my mess up. Will probably fall out in the wash or Greg could revert.  Will have to check
>  the merge resolution in Linux next and when Linus pulls if it isn't reverted.  Should be fine
>  either way.
OK, I will re-check this once the everything has landed in Linus' tree
actually it's me who made the mess (by implementing broken stuff in
the first place) - but it will all be fine!

> Jonathan
>>
>>> From 6b503b216d1eff4d61a0bc34e09d1fd4d6e0ee79 Mon Sep 17 00:00:00
>>2001
>>> From: Paolo Cretaro <paolocretaro@gmail.com>
>>> Date: Sun, 28 May 2017 13:24:38 +0200
>>> Subject: iio: adc: meson-saradc: use NULL instead of 0 for pointer
>>>
>>> Fix sparse warning: Using plain integer as NULL pointer
>>>
>>> Signed-off-by: Paolo Cretaro <paolocretaro@gmail.com>
>>> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
>>> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
>>> ---
>>>  drivers/iio/adc/meson_saradc.c | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/iio/adc/meson_saradc.c
>>b/drivers/iio/adc/meson_saradc.c
>>> index 81cd39a57fe3..fb3f67a9ae1f 100644
>>> --- a/drivers/iio/adc/meson_saradc.c
>>> +++ b/drivers/iio/adc/meson_saradc.c
>>> @@ -481,7 +481,7 @@ static void meson_sar_adc_clear_fifo(struct
>>iio_dev *indio_dev)
>>>                 if (!meson_sar_adc_get_fifo_count(indio_dev))
>>>                         break;
>>>
>>> -               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, 0);
>>> +               regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD,
>>NULL);
>>>         }
>>>  }
>>>
>>> --
>>> 2.13.1
>>>
>>>
>>
>>Regards,
>>Martin
>>
>>[0]
>>http://lists.infradead.org/pipermail/linux-amlogic/2017-June/003863.html
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
  2017-06-26 18:57   ` Martin Blumenstingl
@ 2017-06-27  6:43     ` Greg KH
  -1 siblings, 0 replies; 10+ messages in thread
From: Greg KH @ 2017-06-27  6:43 UTC (permalink / raw)
  To: Martin Blumenstingl; +Cc: jic23, paolocretaro, linux-amlogic, linux-iio

On Mon, Jun 26, 2017 at 08:57:18PM +0200, Martin Blumenstingl wrote:
> Hi Greg, Hi Jonathan,
> 
> On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
> >
> > This is a note to let you know that I've just added the patch titled
> >
> >     iio: adc: meson-saradc: use NULL instead of 0 for pointer
> >
> > to my staging git tree which can be found at
> >     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
> > in the staging-testing branch.
> >
> > The patch will show up in the next release of the linux-next tree
> > (usually sometime within the next 24 hours during the week.)
> >
> > The patch will be merged to the staging-next branch sometime soon,
> > after it passes testing, and the merge window is open.
> >
> > If you have any questions about this process, please let me know.
> is there a way to drop below patch from your repo?
> during testing I found out that the code before and after this patch
> leads to a NULL deref. I provided a fix (see [0]) which solves the
> crash and the warning as reported by Paolo - and that fix is already
> part of v4.12-rc6
> so the patch below will cause a merge conflict

I already handled the merge conflict, can you verify I got it right in
my tree?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 10+ messages in thread

* patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
@ 2017-06-27  6:43     ` Greg KH
  0 siblings, 0 replies; 10+ messages in thread
From: Greg KH @ 2017-06-27  6:43 UTC (permalink / raw)
  To: linus-amlogic

On Mon, Jun 26, 2017 at 08:57:18PM +0200, Martin Blumenstingl wrote:
> Hi Greg, Hi Jonathan,
> 
> On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
> >
> > This is a note to let you know that I've just added the patch titled
> >
> >     iio: adc: meson-saradc: use NULL instead of 0 for pointer
> >
> > to my staging git tree which can be found at
> >     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
> > in the staging-testing branch.
> >
> > The patch will show up in the next release of the linux-next tree
> > (usually sometime within the next 24 hours during the week.)
> >
> > The patch will be merged to the staging-next branch sometime soon,
> > after it passes testing, and the merge window is open.
> >
> > If you have any questions about this process, please let me know.
> is there a way to drop below patch from your repo?
> during testing I found out that the code before and after this patch
> leads to a NULL deref. I provided a fix (see [0]) which solves the
> crash and the warning as reported by Paolo - and that fix is already
> part of v4.12-rc6
> so the patch below will cause a merge conflict

I already handled the merge conflict, can you verify I got it right in
my tree?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
  2017-06-27  6:43     ` Greg KH
@ 2017-06-28 20:12       ` Martin Blumenstingl
  -1 siblings, 0 replies; 10+ messages in thread
From: Martin Blumenstingl @ 2017-06-28 20:12 UTC (permalink / raw)
  To: Greg KH; +Cc: jic23, paolocretaro, linux-amlogic, linux-iio

Hi Greg,

On Tue, Jun 27, 2017 at 8:43 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Jun 26, 2017 at 08:57:18PM +0200, Martin Blumenstingl wrote:
>> Hi Greg, Hi Jonathan,
>>
>> On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>> >
>> > This is a note to let you know that I've just added the patch titled
>> >
>> >     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>> >
>> > to my staging git tree which can be found at
>> >     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
>> > in the staging-testing branch.
>> >
>> > The patch will show up in the next release of the linux-next tree
>> > (usually sometime within the next 24 hours during the week.)
>> >
>> > The patch will be merged to the staging-next branch sometime soon,
>> > after it passes testing, and the merge window is open.
>> >
>> > If you have any questions about this process, please let me know.
>> is there a way to drop below patch from your repo?
>> during testing I found out that the code before and after this patch
>> leads to a NULL deref. I provided a fix (see [0]) which solves the
>> crash and the warning as reported by Paolo - and that fix is already
>> part of v4.12-rc6
>> so the patch below will cause a merge conflict
>
> I already handled the merge conflict, can you verify I got it right in
> my tree?
I just checked your staging.git/staging-testing branch: it seems that
the conflict was resolved correctly (meaning that Paolo's patch is
non-existent in your tree, which is correct)


Regards,
Martin

^ permalink raw reply	[flat|nested] 10+ messages in thread

* patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing
@ 2017-06-28 20:12       ` Martin Blumenstingl
  0 siblings, 0 replies; 10+ messages in thread
From: Martin Blumenstingl @ 2017-06-28 20:12 UTC (permalink / raw)
  To: linus-amlogic

Hi Greg,

On Tue, Jun 27, 2017 at 8:43 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Mon, Jun 26, 2017 at 08:57:18PM +0200, Martin Blumenstingl wrote:
>> Hi Greg, Hi Jonathan,
>>
>> On Mon, Jun 26, 2017 at 7:09 AM,  <gregkh@linuxfoundation.org> wrote:
>> >
>> > This is a note to let you know that I've just added the patch titled
>> >
>> >     iio: adc: meson-saradc: use NULL instead of 0 for pointer
>> >
>> > to my staging git tree which can be found at
>> >     git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
>> > in the staging-testing branch.
>> >
>> > The patch will show up in the next release of the linux-next tree
>> > (usually sometime within the next 24 hours during the week.)
>> >
>> > The patch will be merged to the staging-next branch sometime soon,
>> > after it passes testing, and the merge window is open.
>> >
>> > If you have any questions about this process, please let me know.
>> is there a way to drop below patch from your repo?
>> during testing I found out that the code before and after this patch
>> leads to a NULL deref. I provided a fix (see [0]) which solves the
>> crash and the warning as reported by Paolo - and that fix is already
>> part of v4.12-rc6
>> so the patch below will cause a merge conflict
>
> I already handled the merge conflict, can you verify I got it right in
> my tree?
I just checked your staging.git/staging-testing branch: it seems that
the conflict was resolved correctly (meaning that Paolo's patch is
non-existent in your tree, which is correct)


Regards,
Martin

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-06-28 20:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <14984537865458@kroah.com>
2017-06-26 18:57 ` patch "iio: adc: meson-saradc: use NULL instead of 0 for pointer" added to staging-testing Martin Blumenstingl
2017-06-26 18:57   ` Martin Blumenstingl
2017-06-26 19:30   ` Jonathan Cameron
2017-06-26 19:30     ` Jonathan Cameron
2017-06-26 21:03     ` Martin Blumenstingl
2017-06-26 21:03       ` Martin Blumenstingl
2017-06-27  6:43   ` Greg KH
2017-06-27  6:43     ` Greg KH
2017-06-28 20:12     ` Martin Blumenstingl
2017-06-28 20:12       ` Martin Blumenstingl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.