From: "Christian König" <christian.koenig@amd.com>
To: Jules Irenge <jbi.octave@gmail.com>, alexander.deucher@amd.com
Cc: David1.Zhou@amd.com, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, daniel@ffwll.ch,
airlied@linux.ie, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
Date: Tue, 26 Nov 2019 11:09:49 +0100 [thread overview]
Message-ID: <9a585a20-b885-680f-d561-8713afe53fa1@amd.com> (raw)
In-Reply-To: <20191126003514.133692-1-jbi.octave@gmail.com>
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;
> }
> }
>
WARNING: multiple messages have this Message-ID (diff)
From: "Christian König" <christian.koenig@amd.com>
To: Jules Irenge <jbi.octave@gmail.com>, alexander.deucher@amd.com
Cc: airlied@linux.ie, linux-kernel@vger.kernel.org,
amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
Date: Tue, 26 Nov 2019 11:09:49 +0100 [thread overview]
Message-ID: <9a585a20-b885-680f-d561-8713afe53fa1@amd.com> (raw)
In-Reply-To: <20191126003514.133692-1-jbi.octave@gmail.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: "Christian König" <christian.koenig@amd.com>
To: Jules Irenge <jbi.octave@gmail.com>, alexander.deucher@amd.com
Cc: 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
Date: Tue, 26 Nov 2019 11:09:49 +0100 [thread overview]
Message-ID: <9a585a20-b885-680f-d561-8713afe53fa1@amd.com> (raw)
Message-ID: <20191126100949.hNBWMSbHW_ZfMloSEJSc1lyy79kQDKksCivTA2CXi64@z> (raw)
In-Reply-To: <20191126003514.133692-1-jbi.octave@gmail.com>
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
next prev parent reply other threads:[~2019-11-26 10:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a585a20-b885-680f-d561-8713afe53fa1@amd.com \
--to=christian.koenig@amd.com \
--cc=David1.Zhou@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jbi.octave@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.