[PATCH libdrm 1/2] Return an -ENODEV from drmGetDevice() when no device was found.

Emil Velikov emil.l.velikov at gmail.com
Fri Oct 21 17:31:48 UTC 2016


On 21 October 2016 at 18:12, Eric Anholt <eric at anholt.net> wrote:
> From: Rob Herring <robh at kernel.org>
>
> 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 at anholt.net>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Thanks
Emil


More information about the dri-devel mailing list