All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Jules Irenge <jbi.octave@gmail.com>
Cc: "Deucher, Alexander" <alexander.deucher@amd.com>,
	Dave Airlie <airlied@linux.ie>,
	LKML <linux-kernel@vger.kernel.org>,
	Maling list - DRI developers  <dri-devel@lists.freedesktop.org>,
	amd-gfx list <amd-gfx@lists.freedesktop.org>,
	Christian Koenig <christian.koenig@amd.com>
Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
Date: Tue, 26 Nov 2019 11:27:55 -0500	[thread overview]
Message-ID: <CADnq5_Mvx8yNG=PUYB6s+Dwqevbx4a0gC-K7iqmNtM-shrDOLw@mail.gmail.com> (raw)
In-Reply-To: <20191126003514.133692-1-jbi.octave@gmail.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Alex Deucher <alexdeucher@gmail.com>
To: Jules Irenge <jbi.octave@gmail.com>
Cc: Dave Airlie <airlied@linux.ie>,
	LKML <linux-kernel@vger.kernel.org>,
	amd-gfx list <amd-gfx@lists.freedesktop.org>,
	Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
	"Deucher, Alexander" <alexander.deucher@amd.com>,
	Christian Koenig <christian.koenig@amd.com>
Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
Date: Tue, 26 Nov 2019 11:27:55 -0500	[thread overview]
Message-ID: <CADnq5_Mvx8yNG=PUYB6s+Dwqevbx4a0gC-K7iqmNtM-shrDOLw@mail.gmail.com> (raw)
Message-ID: <20191126162755.ClOFtSWLTYufa3n4-niX0zqasC8epR1wdtmLcRtmpmg@z> (raw)
In-Reply-To: <20191126003514.133692-1-jbi.octave@gmail.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Alex Deucher <alexdeucher@gmail.com>
To: Jules Irenge <jbi.octave@gmail.com>
Cc: Dave Airlie <airlied@linux.ie>,
	LKML <linux-kernel@vger.kernel.org>,
	amd-gfx list <amd-gfx@lists.freedesktop.org>,
	Maling list - DRI developers <dri-devel@lists.freedesktop.org>,
	"Deucher, Alexander" <alexander.deucher@amd.com>,
	Christian Koenig <christian.koenig@amd.com>
Subject: Re: [PATCH] drm: radeon: replace 0 with NULL
Date: Tue, 26 Nov 2019 11:27:55 -0500	[thread overview]
Message-ID: <CADnq5_Mvx8yNG=PUYB6s+Dwqevbx4a0gC-K7iqmNtM-shrDOLw@mail.gmail.com> (raw)
Message-ID: <20191126162755.dCGAZPMXL44pyJpimaMS9DK7HYWUP1DuJm_sr39QbYg@z> (raw)
In-Reply-To: <20191126003514.133692-1-jbi.octave@gmail.com>

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

  parent reply	other threads:[~2019-11-26 16:28 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
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 [this message]
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='CADnq5_Mvx8yNG=PUYB6s+Dwqevbx4a0gC-K7iqmNtM-shrDOLw@mail.gmail.com' \
    --to=alexdeucher@gmail.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --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.