lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_Mvx8yNG=PUYB6s+Dwqevbx4a0gC-K7iqmNtM-shrDOLw@mail.gmail.com>
Date:   Tue, 26 Nov 2019 11:27:55 -0500
From:   Alex Deucher <alexdeucher@...il.com>
To:     Jules Irenge <jbi.octave@...il.com>
Cc:     "Deucher, Alexander" <alexander.deucher@....com>,
        Dave Airlie <airlied@...ux.ie>,
        LKML <linux-kernel@...r.kernel.org>,
        Maling list - DRI developers 
        <dri-devel@...ts.freedesktop.org>,
        amd-gfx list <amd-gfx@...ts.freedesktop.org>,
        Christian Koenig <christian.koenig@....com>
Subject: Re: [PATCH] drm: radeon: replace 0 with NULL

Applied.  thanks!

Alex

On Tue, Nov 26, 2019 at 3:15 AM Jules Irenge <jbi.octave@...il.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@...il.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@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ