From patchwork Fri Oct 26 19:24:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10657755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7A36A15A7 for ; Fri, 26 Oct 2018 19:24:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6940B2B5D7 for ; Fri, 26 Oct 2018 19:24:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CD5B2BEEF; Fri, 26 Oct 2018 19:24:26 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,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 05B022B5D7 for ; Fri, 26 Oct 2018 19:24:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 38F696E53E; Fri, 26 Oct 2018 19:24:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by gabe.freedesktop.org (Postfix) with ESMTPS id 374F16E53E for ; Fri, 26 Oct 2018 19:24:24 +0000 (UTC) Received: by mail-qt1-x843.google.com with SMTP id l11-v6so1899184qtf.7 for ; Fri, 26 Oct 2018 12:24:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hCzofeQ0bxOb9JH+yn6Hps680QgMg5RDZ0Eg84Xgy8k=; b=LYULBhVCcoKwWAQIVVQhuPI7pytKFf/ES4jsIB0lTrZrtI4/bPlks9hYJ+6AdYbtlX Mn1IcNz2SwdyJ6ok3T3rJSuyElq8MwOqD7HNorMqN9+GlR2WYo8VUCF/wG5my1z0Puyg 3xcQqxq7EnLvT1xFHdyRCwi17sAiTqJeGLzgxUn33X4pLyIjBOMZP9cFiybNTBZTAldA c2x/oycsUn0Yu5OlGrb4NHjU7L5RGKi6uN9NYpIp1iUxiPbGPAZi9w/GaIXA984urnfF ZVDgbm4LFBzgddQ1acXK+YqKViZPs2dXCYYKgPjce3KLkDSu7xIyXpv8ioBOwf6QzE+L FS0A== X-Gm-Message-State: AGRZ1gIxakBGH1AMSOUJg7pdkFTsUYztIirmeazylXcmW1X2LB6KE6BR 0dUgHDc3rxCnPF1Agspo60k= X-Google-Smtp-Source: AJdET5cA77NvhwmDWBKQL+YVXhgOjk7yrmNKulc0yDgRbA8J84aDkx5uxD5I91GXXaHlbsex1vc2XA== X-Received: by 2002:a0c:948e:: with SMTP id j14mr4501328qvj.155.1540581863311; Fri, 26 Oct 2018 12:24:23 -0700 (PDT) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id y144-v6sm4080661qka.7.2018.10.26.12.24.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Oct 2018 12:24:22 -0700 (PDT) Date: Fri, 26 Oct 2018 16:24:18 -0300 From: Shayenne da Luz Moura To: Dave Airlie , Gerd Hoffmann , David Airlie Subject: [PATCH 5/6] drm/qxl: Add space before open parentheses Message-ID: <1ab3ba05c140aae01bde66f73ff1f3b78bf7dfb3.1540579956.git.shayenneluzmoura@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: outreachy-kernel@googlegroups.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add space to remove checkpath.pl error: ERROR: space required before the open parenthesis '(' Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/qxl/qxl_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 5b00e0f26de1..2ce9a8dcec84 100644 --- a/drivers/gpu/drm/qxl/qxl_display.c +++ b/drivers/gpu/drm/qxl/qxl_display.c @@ -940,8 +940,8 @@ static enum drm_mode_status qxl_conn_mode_valid(struct drm_connector *connector, /* TODO: is this called for user defined modes? (xrandr --add-mode) * TODO: check that the mode fits in the framebuffer */ - if(qdev->monitors_config_width == mode->hdisplay && - qdev->monitors_config_height == mode->vdisplay) + if (qdev->monitors_config_width == mode->hdisplay && + qdev->monitors_config_height == mode->vdisplay) return MODE_OK; for (i = 0; i < ARRAY_SIZE(common_modes); i++) {