Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935339AbcJURbz (ORCPT ); Fri, 21 Oct 2016 13:31:55 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33215 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933903AbcJURbu (ORCPT ); Fri, 21 Oct 2016 13:31:50 -0400 MIME-Version: 1.0 In-Reply-To: <20161021171240.6972-1-eric@anholt.net> References: <20161021171240.6972-1-eric@anholt.net> From: Emil Velikov Date: Fri, 21 Oct 2016 18:31:48 +0100 Message-ID: Subject: Re: [PATCH libdrm 1/2] Return an -ENODEV from drmGetDevice() when no device was found. To: Eric Anholt Cc: ML dri-devel , "Linux-Kernel@Vger. Kernel. Org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 387 Lines: 13 On 21 October 2016 at 18:12, Eric Anholt wrote: > From: Rob Herring > > 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 Reviewed-by: Emil Velikov Thanks Emil