Received: by 10.223.148.5 with SMTP id 5csp6226753wrq; Wed, 17 Jan 2018 10:54:45 -0800 (PST) X-Google-Smtp-Source: ACJfBotzF2EIV+BS9iNBE37gZO1rVBE6UPwbnd5IpAlUEBuyqKPBqtCWbRijnYZ0/o2Cr2UBNawj X-Received: by 10.98.82.68 with SMTP id g65mr24674929pfb.212.1516215285376; Wed, 17 Jan 2018 10:54:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516215285; cv=none; d=google.com; s=arc-20160816; b=rWzHO7OKDtU04QYYnZ4p1oRssRP+TkN8ke1bpabAevg+6gzgg/dc7ueUB9YxODfodl kQs4KBW7eSZnFPYEGmlP90/Bh9l6HeUWNiMJFt9oXOQnLRAKXV1h4yZrsnVv+rqhspLc j2yWtlVd16wCvqosgzh24twAtwV8lDk8vZepK1WmkaPXXAdPPw6tToI/+iJUxYQgY66p cUZ7+v4/NI9cslv5DffR8ikaVUi2wIzJz7kcFqXXhfbeueWCPKaVo5gk9aGGpo5OZd7g rFXBd/GZXZ2zl/Qtxj3Uh18e6+e6DfW4lythJGog5kUlkYSCprqkAA1opndjpZx/nNm9 +fGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=mVjdbtgtLmTP6YRFE7Zy9NNz+fnUKySgbpiMPCFntQA=; b=aUIcQ/Kaq89MNCyd7sLvyHi2bcTAmZJ4YCiEdc5IeAib88v8AyBiWmnjU0IXXVEAY6 HFqzAyNhJ3rv5HSLdRt4DR5NlEgmrKXz56OMpSGHhIOUIcn40knVN52tfsCTXQbwTNcv ID4+5TsOQnD06jSIhxemeh4A7K2DEU/EzuQIAsO8DC5vQGiWCCKGLUalvKByCHJEZZAX AXk2I+fS2d6JotRcn5/ys31rfr0rplg37o5TKm66IoznwS6eSiIEyDkqQ6ovMSlo+xI3 IIqh0NQNMES7JeB9MGkKyp9WQUlnPMleTQJ1KaHx2pUVf/MZh6GEDRkqbz/5/xSSy+p2 UBLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si5266398plm.74.2018.01.17.10.54.31; Wed, 17 Jan 2018 10:54:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754575AbeAQSx1 (ORCPT + 99 others); Wed, 17 Jan 2018 13:53:27 -0500 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:52753 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753694AbeAQSx0 (ORCPT ); Wed, 17 Jan 2018 13:53:26 -0500 X-IronPort-AV: E=Sophos;i="5.46,372,1511827200"; d="scan'208";a="703942728" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1a-af6a10df.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Jan 2018 18:53:21 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (iad1-ws-svc-lb91-vlan3.amazon.com [10.0.103.150]) by email-inbound-relay-1a-af6a10df.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w0HIrHtX053979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Jan 2018 18:53:19 GMT Received: from uecb1d7364e75593fe229.ant.amazon.com (localhost [127.0.0.1]) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id w0HIrGBO026866; Wed, 17 Jan 2018 18:53:16 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0HIrGAM026863; Wed, 17 Jan 2018 18:53:16 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , David Airlie , dri-devel@lists.freedesktop.org, Ben Skeggs , nouveau@lists.freedesktop.org, Luis de Bethencourt Subject: [PATCH] drm/nouveau/mmu: Fix trailing semicolon Date: Wed, 17 Jan 2018 18:53:14 +0000 Message-Id: <20180117185315.26808-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt --- Hi, After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0]. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c index e35d3e17cd7c..93946dcee319 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c @@ -642,7 +642,7 @@ nvkm_vmm_ptes_sparse(struct nvkm_vmm *vmm, u64 addr, u64 size, bool ref) else block = (size >> page[i].shift) << page[i].shift; } else { - block = (size >> page[i].shift) << page[i].shift;; + block = (size >> page[i].shift) << page[i].shift; } /* Perform operation. */ -- 2.15.1