From patchwork Tue Sep 20 09:00:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9341365 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ADD00607D0 for ; Tue, 20 Sep 2016 09:01:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E5D4293F4 for ; Tue, 20 Sep 2016 09:01:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9327D29D5B; Tue, 20 Sep 2016 09:01:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 98A67293F4 for ; Tue, 20 Sep 2016 09:01:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B7AFB6E6B0; Tue, 20 Sep 2016 09:01:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.web.de (mout.web.de [217.72.192.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id DE4F48989A for ; Tue, 20 Sep 2016 09:00:55 +0000 (UTC) Received: from [192.168.1.2] ([77.182.226.232]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0Lpf3q-1bIyFW0Ep4-00fSvd; Tue, 20 Sep 2016 11:00:52 +0200 Subject: [PATCH 5/6] GPU-DRM-GMA500: One error message less for a GCT revision mismatch in mid_get_vbt_data() To: dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie , Patrik Jakobsson References: <566ABCD9.1060404@users.sourceforge.net> <3c9785ef-4553-2e3d-2cb2-5cf6d1f31ccd@users.sourceforge.net> From: SF Markus Elfring Message-ID: <287833f5-f1ad-b7f0-c614-d4c903b1c890@users.sourceforge.net> Date: Tue, 20 Sep 2016 11:00:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <3c9785ef-4553-2e3d-2cb2-5cf6d1f31ccd@users.sourceforge.net> X-Provags-ID: V03:K0:RulU0IPNs5OzhG/KzYEwsGk281Q4ebH54PgjIBqtBc0b1xhmi7d Ky/hdPoubteTt1qLsUZJjCgCF0/TwMy2s72hbKV5aVNnhwLfdiJU5wU6/pJO0xgV0DGGSz6 ALi68+CwBRlLgVR9AtG6eCq/0oOJZQZFQ8/1n/X6Ndc0uTKY6WTKFmxQYvvzUl5ww/24oQm SU+ocDKbocHIRWhCAu6Rw== X-UI-Out-Filterresults: notjunk:1; V01:K0:CMS7/SOd8iE=:Fv+0+i9rSz62DWMM+uKhFM ZS/czXoyWHuIKMxnaKuzxywri3oEdL0y4JPAdTEVqz3YoXObO2R8lWl5qo4XxKEKLR0qvUacn iPargm1g+YV4TIuPn5ZS9OlSIfXLSCRJfsr9ext/T/mkgW6AIuXv5PP2LuW0q8e6mh5IPvn9V VCPcyy3rMf82ugNrCvNr906r4u40DfjTz3o/3txISYGeYSHe+VbE6QbspC7lhB1F2G4q1xXdz 1wwO4Z/cNlNPN4KWq7PljWsCFaeopvJ04ppNe2cvcW0xcp8D5mN76GMjAmDSUswWZ8en16IfA AjczJ8pDRH5TSccFLIgU4z5VUDbDf6Vs4N3dRiyZwaWuteb22znuyq2PIHopWHrsbTlgkEzhN yCzKOfa8ELfSEQYDoPwCIcZZV0hiF/nnXqzo6sOeayhUr4YsQ4Ix/hbsQHGFX8XmO6SS3tJZe EpOl41cat8031EIpg1NVHMQFujVMAtaJ6G91WYDqwootfRQvzK1jH6NuY+XFb6t6gDYglG/E6 3NaWbcVhXY1ZYT7+xAVgSF+XOx0TDn+lsuMzDdvEh0Gx8GTpm8Axp80WhuuZ1kdliljYGtXRp FExYUirT+eJ4uRKKedqOnfzdnfq2UWUk+tr9BANM2XD97ohrJpvzUwhCFmollc3+oPar6MJVe 2CAgsgtZZF98DK+BXixlCHOjzqNw/ARrvl0OLA13KpfzXpJHVICLbt63J1gwK4eqrs4t153Lr tfK32VYohK3IyqZxh01OwuPXj9u8uDd2y5l7hMFTDMiJEjkzkD0IhNwXefQ7HshNO07pCdjyp DHJaScf Cc: Julia Lawall , kernel-janitors@vger.kernel.org, LKML X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 20 Sep 2016 10:36:19 +0200 A single error message should be sufficient to inform about the detection of an unknown GCT revision at the end. Thus return after the logging call in this case directly. Signed-off-by: Markus Elfring --- drivers/gpu/drm/gma500/mid_bios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/gma500/mid_bios.c b/drivers/gpu/drm/gma500/mid_bios.c index 9004d30..e5cece0 100644 --- a/drivers/gpu/drm/gma500/mid_bios.c +++ b/drivers/gpu/drm/gma500/mid_bios.c @@ -320,6 +320,7 @@ static void mid_get_vbt_data(struct drm_psb_private *dev_priv) break; default: dev_err(dev->dev, "Unknown revision of GCT!\n"); + return; } out: