Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932609AbcJURMp (ORCPT ); Fri, 21 Oct 2016 13:12:45 -0400 Received: from anholt.net ([50.246.234.109]:55993 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754809AbcJURMn (ORCPT ); Fri, 21 Oct 2016 13:12:43 -0400 From: Eric Anholt To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, Eric Anholt Subject: [PATCH libdrm 2/2] Silence runtime complaints on platform devices Date: Fri, 21 Oct 2016 10:12:40 -0700 Message-Id: <20161021171240.6972-2-eric@anholt.net> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161021171240.6972-1-eric@anholt.net> References: <20161021171240.6972-1-eric@anholt.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 31 glxgears was spamming this 12 times at startup because of Mesa's probing of the DRM device code, which doesn't support platform devices. Signed-off-by: Eric Anholt --- xf86drm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index 9b52889e4cef..52add5e441d7 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -3149,7 +3149,6 @@ int drmGetDevice(int fd, drmDevicePtr *device) break; default: - fprintf(stderr, "The subsystem type is not supported yet\n"); continue; } @@ -3259,7 +3258,6 @@ int drmGetDevices(drmDevicePtr devices[], int max_devices) break; default: - fprintf(stderr, "The subsystem type is not supported yet\n"); continue; } -- 2.9.3