Re: [PATCH libdrm 1/2] Return an -ENODEV from drmGetDevice() when no device was found.
From: Emil Velikov
Date: Fri Oct 21 2016 - 13:31:58 EST
On 21 October 2016 at 18:12, Eric Anholt <eric@xxxxxxxxxx> wrote:
> From: Rob Herring <robh@xxxxxxxxxx>
> Fixes crashes in Mesa on platform device, which expected *device to
> have a device when 0 was returned.
> (code from a paste by Rob, commit message by anholt)
> Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>
Reviewed-by: Emil Velikov <emil.velikov@xxxxxxxxxxxxx>