Re: [PATCH] iio: adc: meson-saradc: use NULL instead of 0 for pointer

2017-06-06 Thread Paolo Cretaro
Il 04/06/2017 15:32, Martin Blumenstingl ha scritto: Hi Paolo, Hi Jonathan, On Sat, Jun 3, 2017 at 10:52 AM, Jonathan Cameron wrote: On Sun, 28 May 2017 23:17:57 +0200 Martin Blumenstingl wrote: Hi Paolo, Hi Jonathan, On Sun, May 28, 2017 at 4:43 PM, Jonathan Cameron wrote: On Sun, 28 Ma

Re: [PATCH] iio: adc: meson-saradc: use NULL instead of 0 for pointer

2017-06-04 Thread Martin Blumenstingl
Hi Paolo, Hi Jonathan, On Sat, Jun 3, 2017 at 10:52 AM, Jonathan Cameron wrote: > On Sun, 28 May 2017 23:17:57 +0200 > Martin Blumenstingl wrote: > >> Hi Paolo, Hi Jonathan, >> >> On Sun, May 28, 2017 at 4:43 PM, Jonathan Cameron wrote: >> > On Sun, 28 May 2017 13:24:38 +0200 >> > Paolo Cretaro

Re: [PATCH] iio: adc: meson-saradc: use NULL instead of 0 for pointer

2017-06-03 Thread Jonathan Cameron
On Sun, 28 May 2017 23:17:57 +0200 Martin Blumenstingl wrote: > Hi Paolo, Hi Jonathan, > > On Sun, May 28, 2017 at 4:43 PM, Jonathan Cameron wrote: > > On Sun, 28 May 2017 13:24:38 +0200 > > Paolo Cretaro wrote: > > > >> Fix sparse warning: Using plain integer as NULL pointer > >> > >> Signe

Re: [PATCH] iio: adc: meson-saradc: use NULL instead of 0 for pointer

2017-05-28 Thread Martin Blumenstingl
Hi Paolo, Hi Jonathan, On Sun, May 28, 2017 at 4:43 PM, Jonathan Cameron wrote: > On Sun, 28 May 2017 13:24:38 +0200 > Paolo Cretaro wrote: > >> Fix sparse warning: Using plain integer as NULL pointer >> >> Signed-off-by: Paolo Cretaro > This looks fine to me, but ideally you should always try

Re: [PATCH] iio: adc: meson-saradc: use NULL instead of 0 for pointer

2017-05-28 Thread Paolo Cretaro
On 28/05/2017 16:43, Jonathan Cameron wrote: > On Sun, 28 May 2017 13:24:38 +0200 > Paolo Cretaro wrote: > >> Fix sparse warning: Using plain integer as NULL pointer >> >> Signed-off-by: Paolo Cretaro > This looks fine to me, but ideally you should always try to include > the driver author - par

Re: [PATCH] iio: adc: meson-saradc: use NULL instead of 0 for pointer

2017-05-28 Thread Jonathan Cameron
On Sun, 28 May 2017 13:24:38 +0200 Paolo Cretaro wrote: > Fix sparse warning: Using plain integer as NULL pointer > > Signed-off-by: Paolo Cretaro This looks fine to me, but ideally you should always try to include the driver author - particularly in the case of patches to a recent driver such

[PATCH] iio: adc: meson-saradc: use NULL instead of 0 for pointer

2017-05-28 Thread Paolo Cretaro
Fix sparse warning: Using plain integer as NULL pointer Signed-off-by: Paolo Cretaro --- 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 ---