Received: by 10.223.148.5 with SMTP id 5csp6179039wrq; Wed, 17 Jan 2018 10:22:46 -0800 (PST) X-Google-Smtp-Source: ACJfBoszWRw0k17tlJ0tF5aFMgGwpVMwNt2LSPPrZbmewvfXNeuwCrslr17lLJH0jVrxWofCBS3/ X-Received: by 10.84.230.230 with SMTP id e93mr10366357plk.173.1516213366624; Wed, 17 Jan 2018 10:22:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516213366; cv=none; d=google.com; s=arc-20160816; b=dBPn1Yu83tBmlartywBJ9e01qhYPr5r2cg1XckOM7BrwNnghrhdnoxjiA1rQEDSu0j OF1/qOfU7qGWOVUulBVc004qKN4wLMI1PnEAqA5Z8+pnQYmFQQwnIQf6c/eMn4fs2Euh ODibx2ihtIM4q9Y40wj20TEbJzuo7/iKeKrjvuk6iD4MKXZvigMZaO+t3SgQph49TRbo /z8ix4tbl4sFQAcqCF2IZoDYiYEUQNmRWD8wQ1VkptW/RAeQuPGL9T9fIkT998txoj5y 0iPbW8sGa53lkp9R8SK2XcAK9VZz638SBiNYBztJgorGEMU7hLSOGW7p9QFJTlYjf3Ui 8ufg== 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=J/EwNptToT7VPWX7tetIHB89XmNzTCPypMgo9ctITEg=; b=WaKSL5dKgCSSdYVR3norKtSGYgODJFDD1ooApFsGwe/gNed3zvzWm/u8vXgzINXFhk CuYs7hgNImxKB9pCgeDbZUY+DiO0tc8gBSCEKwozelGI58kB4t4xOU3hfAIa6ToVGs9n oJe626QuVIJexYmSt/k5cd6+mR7FggW3XeDJNujvo/hlKlRSD0h1N0/5LnXuIvLLcDzY xPcJ0poQ1hweMJ3NArY+ZL2N5ZgJx8j5HU94NIgPP+w5rC8SQRthZjPkqKvZDw9qRFm1 vWfIBt8OMNPls3QCNpL2BJo13UP127l3nbZGSmC88Z3KPymnRCobA72Fh0YxMPZkGZvw Gp/Q== 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 d18si4789135pfb.16.2018.01.17.10.22.32; Wed, 17 Jan 2018 10:22:46 -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 S1754363AbeAQSWA (ORCPT + 99 others); Wed, 17 Jan 2018 13:22:00 -0500 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:24586 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752579AbeAQSV6 (ORCPT ); Wed, 17 Jan 2018 13:21:58 -0500 X-IronPort-AV: E=Sophos;i="5.46,372,1511827200"; d="scan'208";a="703935821" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-62350142.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:19:34 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (iad1-ws-svc-lb91-vlan3.amazon.com [10.0.103.150]) by email-inbound-relay-1e-62350142.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w0HIJUKD086550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Jan 2018 18:19:32 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 w0HIJTNf012932; Wed, 17 Jan 2018 18:19:30 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0HIJTFP012929; Wed, 17 Jan 2018 18:19:29 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Joerg Roedel , iommu@lists.linux-foundation.org, Luis de Bethencourt Subject: [PATCH] iommu/vt-d: Fix trailing semicolon Date: Wed, 17 Jan 2018 18:19:26 +0000 Message-Id: <20180117181926.12862-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/iommu/intel-svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/intel-svm.c b/drivers/iommu/intel-svm.c index 88a54a0a5f92..67bd4b56e2d9 100644 --- a/drivers/iommu/intel-svm.c +++ b/drivers/iommu/intel-svm.c @@ -193,7 +193,7 @@ static void intel_flush_svm_range_dev (struct intel_svm *svm, struct intel_svm_d * for example, an "address" value of 0x12345f000 will * flush from 0x123440000 to 0x12347ffff (256KiB). */ unsigned long last = address + ((unsigned long)(pages - 1) << VTD_PAGE_SHIFT); - unsigned long mask = __rounddown_pow_of_two(address ^ last);; + unsigned long mask = __rounddown_pow_of_two(address ^ last); desc.high = QI_DEV_EIOTLB_ADDR((address & ~mask) | (mask - 1)) | QI_DEV_EIOTLB_SIZE; } else { -- 2.15.1