Received: by 10.223.176.46 with SMTP id f43csp4171511wra; Tue, 23 Jan 2018 05:30:51 -0800 (PST) X-Google-Smtp-Source: AH8x226BYX9OgHyJiaAvtlnF0ncM/2IUA5NgJ42pXAEVC28dlyTzZCOT6sG1L199yyxQN5z0jb8t X-Received: by 2002:a17:902:8601:: with SMTP id f1-v6mr5739912plo.380.1516714251025; Tue, 23 Jan 2018 05:30:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516714250; cv=none; d=google.com; s=arc-20160816; b=wZSAVaAKPQc00YbquhIo7j8qHgvB7EIaOhvZWKgMaGsdQvh5nJg9Hzy4kvjnLPHhwZ pZEQq6cVRcV0k/VKef26pbywoOwSmi4tNJ15a6oOHKoF+QgF+rD1dks8D/PsmN7B9wh1 C87jXImPxEuvwVQS5yg9bzFPW+AMAlTy6ilapBp1QdjXLbvYWRzDi2Vl9/75EmBOzZjs R4+aReJV74zL6dP11KUsrC98eDhhp9GQHJNAITfKJvcXhcmWQZWP+pLmCdEf9tJhMos0 i8Jbfnxu250tjBWpz7OLtiph8YZF/IBRZqT0TSK+tDy9NTo+BULgbSBoGJTv3FBc7N4N PcxQ== 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=MeOSPTvgxwVQb72Br4+37jlDQ8D2DynJv3nAV9TPDbg=; b=zDL5TS0jg77ZYqChp/miB1KRM/j3oAkmS6LdN+RzsMRuKGe0N44bYNggQeaqD+5XO5 KoZjDMCMQrc/2LsbDHlwHncAhlX+7DVsEfoC7JKWB0CYviFHIn8DbLzamN6uspgbn8/q fY86tNHKlpxXuHK+jitUwQioO6Do+OEETUvs/Ny3JjRV6X/bq99cP/HEuYsM3sV1DSmi PLPx9K/b/rAI6iKorfjK788Kali6VI3soj5bPT4TBg3Gdh1Y8orlqDfqVqwQvY2n7j9T oPtSFbrexK339cxSK37/FMV/W4gGsZ5WPqiuCUz7WOjl1007VbC3y5DQp24hMNfVdflB fS/w== 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 o12si14964545pgq.9.2018.01.23.05.30.36; Tue, 23 Jan 2018 05:30:50 -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 S1751980AbeAWNaG (ORCPT + 99 others); Tue, 23 Jan 2018 08:30:06 -0500 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:50480 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751950AbeAWNaD (ORCPT ); Tue, 23 Jan 2018 08:30:03 -0500 X-IronPort-AV: E=Sophos;i="5.46,401,1511827200"; d="scan'208";a="328722886" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Jan 2018 13:29:55 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (iad1-ws-svc-lb91-vlan3.amazon.com [10.0.103.150]) by email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w0NDTi0j069089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Jan 2018 13:29:46 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 w0NDThDO025086; Tue, 23 Jan 2018 13:29:43 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0NDTdIP025078; Tue, 23 Jan 2018 13:29:39 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Paul Mackerras , Benjamin Herrenschmidt , Michael Ellerman , Alexey Kardashevskiy , Russell Currey , David Gibson , Alistair Popple , Rob Herring , kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Luis de Bethencourt Subject: [PATCH 1/2] powerpc/powernv: Fix trailing semicolon Date: Tue, 23 Jan 2018 13:29:34 +0000 Message-Id: <20180123132935.24995-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 arch/powerpc/platforms/powernv/pci-ioda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c index f6f0c5717e08..101981cc75ac 100644 --- a/arch/powerpc/platforms/powernv/pci-ioda.c +++ b/arch/powerpc/platforms/powernv/pci-ioda.c @@ -1840,7 +1840,7 @@ static int pnv_pci_ioda_dma_set_mask(struct pci_dev *pdev, u64 dma_mask) s64 rc; if (WARN_ON(!pdn || pdn->pe_number == IODA_INVALID_PE)) - return -ENODEV;; + return -ENODEV; pe = &phb->ioda.pe_array[pdn->pe_number]; if (pe->tce_bypass_enabled) { -- 2.15.1