[PATCH] amdgpu/dri3: Check for NULL from calloc call

StDenis, Tom Tom.StDenis at amd.com
Tue Apr 12 12:49:39 UTC 2016


Attached updated patch.

Tom

________________________________________
From: Michel Dänzer <michel at daenzer.net>
Sent: Monday, April 11, 2016 03:22
To: StDenis, Tom
Cc: xorg-driver-ati at lists.x.org
Subject: Re: [PATCH] amdgpu/dri3: Check for NULL from calloc call

On 09.04.2016 00:42, StDenis, Tom wrote:
> Simple check for NULL.

Please make the code match the radeon code. My bad for not doing so in
the first place.


--
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dri3-Return-NULL-from-amdgpu_dri3_pixmap_from_fd-if-.patch
Type: text/x-patch
Size: 907 bytes
Desc: 0001-dri3-Return-NULL-from-amdgpu_dri3_pixmap_from_fd-if-.patch
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20160412/20cd6683/attachment.bin>


More information about the xorg-driver-ati mailing list