* [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 0:35 ` Jules Irenge
0 siblings, 0 replies; 16+ messages in thread
From: Jules Irenge @ 2019-11-26 0:35 UTC (permalink / raw)
To: alexander.deucher
Cc: christian.koenig, David1.Zhou, linux-kernel, dri-devel, daniel,
airlied, amd-gfx, Jules Irenge
Replace 0 with NULL to fix sparse tool warning
warning: Using plain integer as NULL pointer
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
---
drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
index b9aea5776d3d..2269cfced788 100644
--- a/drivers/gpu/drm/radeon/radeon_audio.c
+++ b/drivers/gpu/drm/radeon/radeon_audio.c
@@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
} else {
rdev->audio.funcs = &r600_funcs;
rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
- rdev->audio.dp_funcs = 0;
+ rdev->audio.dp_funcs = NULL;
}
}
--
2.23.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 0:35 ` Jules Irenge
0 siblings, 0 replies; 16+ messages in thread
From: Jules Irenge @ 2019-11-26 0:35 UTC (permalink / raw)
To: alexander.deucher
Cc: Jules Irenge, airlied, linux-kernel, dri-devel, amd-gfx,
christian.koenig
Replace 0 with NULL to fix sparse tool warning
warning: Using plain integer as NULL pointer
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
---
drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
index b9aea5776d3d..2269cfced788 100644
--- a/drivers/gpu/drm/radeon/radeon_audio.c
+++ b/drivers/gpu/drm/radeon/radeon_audio.c
@@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
} else {
rdev->audio.funcs = &r600_funcs;
rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
- rdev->audio.dp_funcs = 0;
+ rdev->audio.dp_funcs = NULL;
}
}
--
2.23.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 0:35 ` Jules Irenge
0 siblings, 0 replies; 16+ messages in thread
From: Jules Irenge @ 2019-11-26 0:35 UTC (permalink / raw)
To: alexander.deucher
Cc: David1.Zhou, Jules Irenge, airlied, linux-kernel, dri-devel,
amd-gfx, daniel, christian.koenig
Replace 0 with NULL to fix sparse tool warning
warning: Using plain integer as NULL pointer
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
---
drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
index b9aea5776d3d..2269cfced788 100644
--- a/drivers/gpu/drm/radeon/radeon_audio.c
+++ b/drivers/gpu/drm/radeon/radeon_audio.c
@@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
} else {
rdev->audio.funcs = &r600_funcs;
rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
- rdev->audio.dp_funcs = 0;
+ rdev->audio.dp_funcs = NULL;
}
}
--
2.23.0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH] drm: radeon: replace 0 with NULL
2019-11-26 0:35 ` Jules Irenge
(?)
@ 2019-11-26 10:09 ` Christian König
-1 siblings, 0 replies; 16+ messages in thread
From: Christian König @ 2019-11-26 10:09 UTC (permalink / raw)
To: Jules Irenge, alexander.deucher
Cc: David1.Zhou, linux-kernel, dri-devel, daniel, airlied, amd-gfx
Am 26.11.19 um 01:35 schrieb Jules Irenge:
> Replace 0 with NULL to fix sparse tool warning
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Acked-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
> index b9aea5776d3d..2269cfced788 100644
> --- a/drivers/gpu/drm/radeon/radeon_audio.c
> +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
> } else {
> rdev->audio.funcs = &r600_funcs;
> rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> - rdev->audio.dp_funcs = 0;
> + rdev->audio.dp_funcs = NULL;
> }
> }
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 10:09 ` Christian König
0 siblings, 0 replies; 16+ messages in thread
From: Christian König @ 2019-11-26 10:09 UTC (permalink / raw)
To: Jules Irenge, alexander.deucher; +Cc: airlied, linux-kernel, amd-gfx, dri-devel
Am 26.11.19 um 01:35 schrieb Jules Irenge:
> Replace 0 with NULL to fix sparse tool warning
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Acked-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
> index b9aea5776d3d..2269cfced788 100644
> --- a/drivers/gpu/drm/radeon/radeon_audio.c
> +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
> } else {
> rdev->audio.funcs = &r600_funcs;
> rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> - rdev->audio.dp_funcs = 0;
> + rdev->audio.dp_funcs = NULL;
> }
> }
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 10:09 ` Christian König
0 siblings, 0 replies; 16+ messages in thread
From: Christian König @ 2019-11-26 10:09 UTC (permalink / raw)
To: Jules Irenge, alexander.deucher
Cc: David1.Zhou, airlied, linux-kernel, amd-gfx, dri-devel, daniel
Am 26.11.19 um 01:35 schrieb Jules Irenge:
> Replace 0 with NULL to fix sparse tool warning
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Acked-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
> index b9aea5776d3d..2269cfced788 100644
> --- a/drivers/gpu/drm/radeon/radeon_audio.c
> +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
> } else {
> rdev->audio.funcs = &r600_funcs;
> rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> - rdev->audio.dp_funcs = 0;
> + rdev->audio.dp_funcs = NULL;
> }
> }
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: [PATCH] drm: radeon: replace 0 with NULL
2019-11-26 10:09 ` Christian König
(?)
@ 2019-11-26 14:55 ` Liu, Zhan
-1 siblings, 0 replies; 16+ messages in thread
From: Liu, Zhan @ 2019-11-26 14:55 UTC (permalink / raw)
To: Koenig, Christian, Jules Irenge, Deucher, Alexander
Cc: Zhou, David(ChunMing), airlied, linux-kernel, amd-gfx, dri-devel, daniel
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of
> Christian König
> Sent: 2019/November/26, Tuesday 5:10 AM
> To: Jules Irenge <jbi.octave@gmail.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>
> Cc: Zhou, David(ChunMing) <David1.Zhou@amd.com>; airlied@linux.ie;
> linux-kernel@vger.kernel.org; amd-gfx@lists.freedesktop.org; dri-
> devel@lists.freedesktop.org; daniel@ffwll.ch
> Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
>
> Am 26.11.19 um 01:35 schrieb Jules Irenge:
> > Replace 0 with NULL to fix sparse tool warning
> > warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
>
> Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
>
> > ---
> > drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_audio.c
> b/drivers/gpu/drm/radeon/radeon_audio.c
> > index b9aea5776d3d..2269cfced788 100644
> > --- a/drivers/gpu/drm/radeon/radeon_audio.c
> > +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> > @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct
> radeon_device *rdev)
> > } else {
> > rdev->audio.funcs = &r600_funcs;
> > rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> > - rdev->audio.dp_funcs = 0;
> > + rdev->audio.dp_funcs = NULL;
> > }
> > }
> >
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 14:55 ` Liu, Zhan
0 siblings, 0 replies; 16+ messages in thread
From: Liu, Zhan @ 2019-11-26 14:55 UTC (permalink / raw)
To: Koenig, Christian, Jules Irenge, Deucher, Alexander
Cc: airlied, linux-kernel, dri-devel, amd-gfx
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of
> Christian König
> Sent: 2019/November/26, Tuesday 5:10 AM
> To: Jules Irenge <jbi.octave@gmail.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>
> Cc: Zhou, David(ChunMing) <David1.Zhou@amd.com>; airlied@linux.ie;
> linux-kernel@vger.kernel.org; amd-gfx@lists.freedesktop.org; dri-
> devel@lists.freedesktop.org; daniel@ffwll.ch
> Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
>
> Am 26.11.19 um 01:35 schrieb Jules Irenge:
> > Replace 0 with NULL to fix sparse tool warning
> > warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
>
> Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
>
> > ---
> > drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_audio.c
> b/drivers/gpu/drm/radeon/radeon_audio.c
> > index b9aea5776d3d..2269cfced788 100644
> > --- a/drivers/gpu/drm/radeon/radeon_audio.c
> > +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> > @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct
> radeon_device *rdev)
> > } else {
> > rdev->audio.funcs = &r600_funcs;
> > rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> > - rdev->audio.dp_funcs = 0;
> > + rdev->audio.dp_funcs = NULL;
> > }
> > }
> >
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 14:55 ` Liu, Zhan
0 siblings, 0 replies; 16+ messages in thread
From: Liu, Zhan @ 2019-11-26 14:55 UTC (permalink / raw)
To: Koenig, Christian, Jules Irenge, Deucher, Alexander
Cc: Zhou, David(ChunMing), airlied, linux-kernel, dri-devel, amd-gfx, daniel
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of
> Christian König
> Sent: 2019/November/26, Tuesday 5:10 AM
> To: Jules Irenge <jbi.octave@gmail.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>
> Cc: Zhou, David(ChunMing) <David1.Zhou@amd.com>; airlied@linux.ie;
> linux-kernel@vger.kernel.org; amd-gfx@lists.freedesktop.org; dri-
> devel@lists.freedesktop.org; daniel@ffwll.ch
> Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
>
> Am 26.11.19 um 01:35 schrieb Jules Irenge:
> > Replace 0 with NULL to fix sparse tool warning
> > warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
>
> Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
>
> > ---
> > drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_audio.c
> b/drivers/gpu/drm/radeon/radeon_audio.c
> > index b9aea5776d3d..2269cfced788 100644
> > --- a/drivers/gpu/drm/radeon/radeon_audio.c
> > +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> > @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct
> radeon_device *rdev)
> > } else {
> > rdev->audio.funcs = &r600_funcs;
> > rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> > - rdev->audio.dp_funcs = 0;
> > + rdev->audio.dp_funcs = NULL;
> > }
> > }
> >
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: [PATCH] drm: radeon: replace 0 with NULL
2019-11-26 10:09 ` Christian König
(?)
@ 2019-11-26 15:31 ` Liu, Zhan
-1 siblings, 0 replies; 16+ messages in thread
From: Liu, Zhan @ 2019-11-26 15:31 UTC (permalink / raw)
To: Koenig, Christian, Jules Irenge, Deucher, Alexander
Cc: Zhou, David(ChunMing), airlied, linux-kernel, amd-gfx, dri-devel, daniel
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of
> Christian König
> Sent: 2019/November/26, Tuesday 5:10 AM
> To: Jules Irenge <jbi.octave@gmail.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>
> Cc: Zhou, David(ChunMing) <David1.Zhou@amd.com>; airlied@linux.ie;
> linux-kernel@vger.kernel.org; amd-gfx@lists.freedesktop.org; dri-
> devel@lists.freedesktop.org; daniel@ffwll.ch
> Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
>
> Am 26.11.19 um 01:35 schrieb Jules Irenge:
> > Replace 0 with NULL to fix sparse tool warning
> > warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
>
> Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
>
> > ---
> > drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_audio.c
> b/drivers/gpu/drm/radeon/radeon_audio.c
> > index b9aea5776d3d..2269cfced788 100644
> > --- a/drivers/gpu/drm/radeon/radeon_audio.c
> > +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> > @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct
> radeon_device *rdev)
> > } else {
> > rdev->audio.funcs = &r600_funcs;
> > rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> > - rdev->audio.dp_funcs = 0;
> > + rdev->audio.dp_funcs = NULL;
> > }
> > }
> >
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
> freedesktop.org%2Fmailman%2Flistinfo%2Famd-
> gfx&data=02%7C01%7Czhan.liu%40amd.com%7C35832a2894894c44817d
> 08d77258c9ea%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C1%7C63710
> 3597981850872&sdata=FdouIs7Prawx3UhK4z8AEgV0nYJJcyrGNp56G0w
> hNZU%3D&reserved=0
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 15:31 ` Liu, Zhan
0 siblings, 0 replies; 16+ messages in thread
From: Liu, Zhan @ 2019-11-26 15:31 UTC (permalink / raw)
To: Koenig, Christian, Jules Irenge, Deucher, Alexander
Cc: airlied, linux-kernel, dri-devel, amd-gfx
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of
> Christian König
> Sent: 2019/November/26, Tuesday 5:10 AM
> To: Jules Irenge <jbi.octave@gmail.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>
> Cc: Zhou, David(ChunMing) <David1.Zhou@amd.com>; airlied@linux.ie;
> linux-kernel@vger.kernel.org; amd-gfx@lists.freedesktop.org; dri-
> devel@lists.freedesktop.org; daniel@ffwll.ch
> Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
>
> Am 26.11.19 um 01:35 schrieb Jules Irenge:
> > Replace 0 with NULL to fix sparse tool warning
> > warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
>
> Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
>
> > ---
> > drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_audio.c
> b/drivers/gpu/drm/radeon/radeon_audio.c
> > index b9aea5776d3d..2269cfced788 100644
> > --- a/drivers/gpu/drm/radeon/radeon_audio.c
> > +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> > @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct
> radeon_device *rdev)
> > } else {
> > rdev->audio.funcs = &r600_funcs;
> > rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> > - rdev->audio.dp_funcs = 0;
> > + rdev->audio.dp_funcs = NULL;
> > }
> > }
> >
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
> freedesktop.org%2Fmailman%2Flistinfo%2Famd-
> gfx&data=02%7C01%7Czhan.liu%40amd.com%7C35832a2894894c44817d
> 08d77258c9ea%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C1%7C63710
> 3597981850872&sdata=FdouIs7Prawx3UhK4z8AEgV0nYJJcyrGNp56G0w
> hNZU%3D&reserved=0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* RE: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 15:31 ` Liu, Zhan
0 siblings, 0 replies; 16+ messages in thread
From: Liu, Zhan @ 2019-11-26 15:31 UTC (permalink / raw)
To: Koenig, Christian, Jules Irenge, Deucher, Alexander
Cc: Zhou, David(ChunMing), airlied, linux-kernel, dri-devel, amd-gfx, daniel
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of
> Christian König
> Sent: 2019/November/26, Tuesday 5:10 AM
> To: Jules Irenge <jbi.octave@gmail.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>
> Cc: Zhou, David(ChunMing) <David1.Zhou@amd.com>; airlied@linux.ie;
> linux-kernel@vger.kernel.org; amd-gfx@lists.freedesktop.org; dri-
> devel@lists.freedesktop.org; daniel@ffwll.ch
> Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
>
> Am 26.11.19 um 01:35 schrieb Jules Irenge:
> > Replace 0 with NULL to fix sparse tool warning
> > warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
>
> Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
>
> > ---
> > drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/radeon/radeon_audio.c
> b/drivers/gpu/drm/radeon/radeon_audio.c
> > index b9aea5776d3d..2269cfced788 100644
> > --- a/drivers/gpu/drm/radeon/radeon_audio.c
> > +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> > @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct
> radeon_device *rdev)
> > } else {
> > rdev->audio.funcs = &r600_funcs;
> > rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> > - rdev->audio.dp_funcs = 0;
> > + rdev->audio.dp_funcs = NULL;
> > }
> > }
> >
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
> freedesktop.org%2Fmailman%2Flistinfo%2Famd-
> gfx&data=02%7C01%7Czhan.liu%40amd.com%7C35832a2894894c44817d
> 08d77258c9ea%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C1%7C63710
> 3597981850872&sdata=FdouIs7Prawx3UhK4z8AEgV0nYJJcyrGNp56G0w
> hNZU%3D&reserved=0
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] drm: radeon: replace 0 with NULL
2019-11-26 0:35 ` Jules Irenge
(?)
(?)
@ 2019-11-26 16:27 ` Alex Deucher
-1 siblings, 0 replies; 16+ messages in thread
From: Alex Deucher @ 2019-11-26 16:27 UTC (permalink / raw)
To: Jules Irenge
Cc: Deucher, Alexander, Dave Airlie, LKML,
Maling list - DRI developers, amd-gfx list, Christian Koenig
Applied. thanks!
Alex
On Tue, Nov 26, 2019 at 3:15 AM Jules Irenge <jbi.octave@gmail.com> wrote:
>
> Replace 0 with NULL to fix sparse tool warning
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
> ---
> drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
> index b9aea5776d3d..2269cfced788 100644
> --- a/drivers/gpu/drm/radeon/radeon_audio.c
> +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
> } else {
> rdev->audio.funcs = &r600_funcs;
> rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> - rdev->audio.dp_funcs = 0;
> + rdev->audio.dp_funcs = NULL;
> }
> }
>
> --
> 2.23.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 16:27 ` Alex Deucher
0 siblings, 0 replies; 16+ messages in thread
From: Alex Deucher @ 2019-11-26 16:27 UTC (permalink / raw)
To: Jules Irenge
Cc: Deucher, Alexander, Dave Airlie, LKML,
Maling list - DRI developers, amd-gfx list, Christian Koenig
Applied. thanks!
Alex
On Tue, Nov 26, 2019 at 3:15 AM Jules Irenge <jbi.octave@gmail.com> wrote:
>
> Replace 0 with NULL to fix sparse tool warning
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
> ---
> drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
> index b9aea5776d3d..2269cfced788 100644
> --- a/drivers/gpu/drm/radeon/radeon_audio.c
> +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
> } else {
> rdev->audio.funcs = &r600_funcs;
> rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> - rdev->audio.dp_funcs = 0;
> + rdev->audio.dp_funcs = NULL;
> }
> }
>
> --
> 2.23.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 16:27 ` Alex Deucher
0 siblings, 0 replies; 16+ messages in thread
From: Alex Deucher @ 2019-11-26 16:27 UTC (permalink / raw)
To: Jules Irenge
Cc: Dave Airlie, LKML, amd-gfx list, Maling list - DRI developers,
Deucher, Alexander, Christian Koenig
Applied. thanks!
Alex
On Tue, Nov 26, 2019 at 3:15 AM Jules Irenge <jbi.octave@gmail.com> wrote:
>
> Replace 0 with NULL to fix sparse tool warning
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
> ---
> drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
> index b9aea5776d3d..2269cfced788 100644
> --- a/drivers/gpu/drm/radeon/radeon_audio.c
> +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
> } else {
> rdev->audio.funcs = &r600_funcs;
> rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> - rdev->audio.dp_funcs = 0;
> + rdev->audio.dp_funcs = NULL;
> }
> }
>
> --
> 2.23.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] drm: radeon: replace 0 with NULL
@ 2019-11-26 16:27 ` Alex Deucher
0 siblings, 0 replies; 16+ messages in thread
From: Alex Deucher @ 2019-11-26 16:27 UTC (permalink / raw)
To: Jules Irenge
Cc: Dave Airlie, LKML, amd-gfx list, Maling list - DRI developers,
Deucher, Alexander, Christian Koenig
Applied. thanks!
Alex
On Tue, Nov 26, 2019 at 3:15 AM Jules Irenge <jbi.octave@gmail.com> wrote:
>
> Replace 0 with NULL to fix sparse tool warning
> warning: Using plain integer as NULL pointer
>
> Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
> ---
> drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c
> index b9aea5776d3d..2269cfced788 100644
> --- a/drivers/gpu/drm/radeon/radeon_audio.c
> +++ b/drivers/gpu/drm/radeon/radeon_audio.c
> @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev)
> } else {
> rdev->audio.funcs = &r600_funcs;
> rdev->audio.hdmi_funcs = &r600_hdmi_funcs;
> - rdev->audio.dp_funcs = 0;
> + rdev->audio.dp_funcs = NULL;
> }
> }
>
> --
> 2.23.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2019-11-26 16:28 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26 0:35 [PATCH] drm: radeon: replace 0 with NULL Jules Irenge
2019-11-26 0:35 ` Jules Irenge
2019-11-26 0:35 ` Jules Irenge
2019-11-26 10:09 ` Christian König
2019-11-26 10:09 ` Christian König
2019-11-26 10:09 ` Christian König
2019-11-26 14:55 ` Liu, Zhan
2019-11-26 14:55 ` Liu, Zhan
2019-11-26 14:55 ` Liu, Zhan
2019-11-26 15:31 ` Liu, Zhan
2019-11-26 15:31 ` Liu, Zhan
2019-11-26 15:31 ` Liu, Zhan
2019-11-26 16:27 ` Alex Deucher
2019-11-26 16:27 ` Alex Deucher
2019-11-26 16:27 ` Alex Deucher
2019-11-26 16:27 ` Alex Deucher
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.