From patchwork Thu Mar 8 02:03:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Siqueira X-Patchwork-Id: 10265833 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 62695602C8 for ; Thu, 8 Mar 2018 02:03:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 53603296FE for ; Thu, 8 Mar 2018 02:03:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 486E129700; Thu, 8 Mar 2018 02:03:40 +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.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID 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 E1A8C296FE for ; Thu, 8 Mar 2018 02:03:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F65D6E279; Thu, 8 Mar 2018 02:03:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-vk0-x243.google.com (mail-vk0-x243.google.com [IPv6:2607:f8b0:400c:c05::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 18A456E279 for ; Thu, 8 Mar 2018 02:03:38 +0000 (UTC) Received: by mail-vk0-x243.google.com with SMTP id l123so2697488vke.8 for ; Wed, 07 Mar 2018 18:03:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/a8ET6rvnyuHkxMvO55/6yK1LS7T2W6HFXH3XkANu14=; b=jVxYyfbqLlleNnJV504mpsya0NI1l2Zb2wnqSlXXhV8BIJARjpM460+H8+rlG6xICf E72N+DDkYHNR9MsylaV1+mJ4Zc/vS56THoj9NeOKkQgeQtL1eDaDM9GG266aOGpeT4Ot 38XX7uNbxpr/BB8vsmi9cHhRXvN3klbgzio+Y5PlsS7gAcwA2bz85NFaRlC/AwHm6HWz QsjghKQ+2+7Z37qqf5FzVkvX3erm7toz18PY8Ibzs9bOuART+AG32TTFp5Q+Lsg64y9U Za68i//E3Q+wutP2MxJHkCFzb58hkXd79BgvCf1Pg4O8Nd9ZFffBhKiJ0rOfakAU26O2 ZUDQ== 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=/a8ET6rvnyuHkxMvO55/6yK1LS7T2W6HFXH3XkANu14=; b=oUm4WQM9uFPAsrVvNdqbv73Q7cL9c7Wvq1ss/75s4nRCcl3sbyliUxgK8eGuEg5jFT OGOghlbGCmk5nLFl5BJo5EbFGmg3Ou+jbeZm/U/+Dhlw97zuDhl4avSnlCEH1CxPAkK2 m5Xhj2m13ttpgD9MTAZ6VuG2kP3frv/6NfbeoyYRETDDEcRGBX2tQaSfRIQW4enn6veX 79wHlj7hGDEJjnoxfrt5C0T1quqaR6TXyoUS+1Ukq0e8YbAXHT/z0SYKREXwYC980asQ APJOlDNfq1IsqON38p7N6r8Dppku37CRwXRLUPKRwoAk9DZdIcA+cuPMMOckd1OmTwG4 3b9g== X-Gm-Message-State: APf1xPB83tgsUxgur+DgucaXGL1qBPHEKwHKvO18y+kgeg8pDyHeq/Ql kdGcnwuupP+UEwYaoeUJS8M= X-Google-Smtp-Source: AG47ELv/sqR2Wxr81cWFy+sarBuahGyk0/6tgreysN4f8bd9bVt0yzz04PMxFUONY3JjA8Zpg2pEJw== X-Received: by 10.31.11.14 with SMTP id 14mr17247242vkl.61.1520474617204; Wed, 07 Mar 2018 18:03:37 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id b7sm19379963uag.51.2018.03.07.18.03.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Mar 2018 18:03:36 -0800 (PST) Date: Wed, 7 Mar 2018 23:03:34 -0300 From: Rodrigo Siqueira To: David Airlie Subject: [PATCH 5/5] drm/vgem: Remove '(' from the end of line Message-ID: <58bfa1f547c18bf8d145b1a8500f3a5f6df3704e.1520474055.git.rodrigosiqueiramelo@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: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes the checkpatch.pl check: vgem_drv.c:91: CHECK: Lines should not end with a '(' Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/vgem/vgem_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index 6e6084e3204a..4ddf3b8c3875 100644 --- a/drivers/gpu/drm/vgem/vgem_drv.c +++ b/drivers/gpu/drm/vgem/vgem_drv.c @@ -87,10 +87,10 @@ static int vgem_gem_fault(struct vm_fault *vmf) mutex_unlock(&obj->pages_lock); if (ret) { struct page *page; + struct address_space *mapping; - page = shmem_read_mapping_page( - file_inode(obj->base.filp)->i_mapping, - page_offset); + mapping = file_inode(obj->base.filp)->i_mapping; + page = shmem_read_mapping_page(mapping, page_offset); if (!IS_ERR(page)) { vmf->page = page; ret = 0;