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] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM6PR12MB34663EE4B2AAEA248FC4DC909E450@DM6PR12MB3466.namprd12.prod.outlook.com>
Date:   Tue, 26 Nov 2019 14:55:48 +0000
From:   "Liu, Zhan" <Zhan.Liu@....com>
To:     "Koenig, Christian" <Christian.Koenig@....com>,
        Jules Irenge <jbi.octave@...il.com>,
        "Deucher, Alexander" <Alexander.Deucher@....com>
CC:     "Zhou, David(ChunMing)" <David1.Zhou@....com>,
        "airlied@...ux.ie" <airlied@...ux.ie>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "amd-gfx@...ts.freedesktop.org" <amd-gfx@...ts.freedesktop.org>,
        "dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
        "daniel@...ll.ch" <daniel@...ll.ch>
Subject: RE: [PATCH] drm: radeon: replace 0 with NULL



> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@...ts.freedesktop.org> On Behalf Of
> Christian König
> Sent: 2019/November/26, Tuesday 5:10 AM
> To: Jules Irenge <jbi.octave@...il.com>; Deucher, Alexander
> <Alexander.Deucher@....com>
> Cc: Zhou, David(ChunMing) <David1.Zhou@....com>; airlied@...ux.ie;
> linux-kernel@...r.kernel.org; amd-gfx@...ts.freedesktop.org; dri-
> devel@...ts.freedesktop.org; daniel@...ll.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@...il.com>
> 
> Acked-by: Christian König <christian.koenig@....com>


Reviewed-by: Zhan Liu <zhan.liu@....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@...ts.freedesktop.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ