[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a585a20-b885-680f-d561-8713afe53fa1@amd.com>
Date: Tue, 26 Nov 2019 11:09:49 +0100
From: Christian König <christian.koenig@....com>
To: Jules Irenge <jbi.octave@...il.com>, alexander.deucher@....com
Cc: David1.Zhou@....com, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, daniel@...ll.ch, airlied@...ux.ie,
amd-gfx@...ts.freedesktop.org
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@...il.com>
Acked-by: Christian König <christian.koenig@....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;
> }
> }
>
Powered by blists - more mailing lists