Received: by 10.223.176.46 with SMTP id f43csp4280878wra; Tue, 23 Jan 2018 07:07:50 -0800 (PST) X-Google-Smtp-Source: AH8x224ixfauChy65GzbBZPjGjKYHth1CgXMHBbCAOYR+9/+SAO3mm9Znkpao/Tnp+3S1s0WBXym X-Received: by 10.98.59.149 with SMTP id w21mr10680148pfj.7.1516720070317; Tue, 23 Jan 2018 07:07:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516720070; cv=none; d=google.com; s=arc-20160816; b=trJg6xgz34SNnjUa/SOlteHC5kdnMVtPTF0gdInZb75xYST8p+mnF37SjHu2/lMiyZ F9+IR63gmgFUK5CGViSsYMCgOXzgcY2sBiQG9+HrsiNwl4du2Bwxv5TYP0P9LHz0N5/G s8JQVrIPnTn2FpL8H0uDLRSQwL6ydiwILvlIUuHClF2wMyk+zsotwpA5ohddpwcpUawu bkN/dPghCax1DdOBl0PTtS+FlBHrkQGijZ5zHM7JjrVCHDn0ZY1peguUu3lAI6UxUq01 TLQBX8aL/VRbw6RBLwrcgkgDxT+fHen5Vgy6OUWwl0mWaSOROQvmUAG3/TIjW1gD5Vma DAmQ== 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=sRj83Fz2yUvduc75hRlH/jdTHYDxfiA44jlyt/9y1qA=; b=l9etBJWrYGLeSyWNW8eK2r0y8jLVdktJvott1e2UL10Jk5WKPau1dft9M7eg9ECtoe uM22hUkQBZnPFgadaahZD472M7+cdhVpKLWAus2bHDY8QTJKIKiSPzyLRWUnoO9hL9HG kHhGf3rECNS249zrmNJ2rh2kR8eG3783KWfACpKFoDd/Hce8c08awdftq/+hO2ZOAJGW lMUMtcrfnhzhKSQnphSpzOc7dX9Z+GKnS8X+w3sAMvflcYFb8CMFayk5ZBHVNOoGonA4 mmpdJcGTQbghitlKET/a+jNFlNCr3SQHeGu6QvF2235VpQ1srq4LOlEk3VhcfSjBfc++ RXng== 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 f66si14737484pgc.570.2018.01.23.07.07.35; Tue, 23 Jan 2018 07:07: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 S1751615AbeAWPG1 (ORCPT + 99 others); Tue, 23 Jan 2018 10:06:27 -0500 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:58335 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751155AbeAWPGZ (ORCPT ); Tue, 23 Jan 2018 10:06:25 -0500 X-IronPort-AV: E=Sophos;i="5.46,401,1511827200"; d="scan'208";a="589109558" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-1a-807d4a99.us-east-1.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Jan 2018 15:06:14 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (iad1-ws-svc-lb91-vlan2.amazon.com [10.0.103.146]) by email-inbound-relay-1a-807d4a99.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id w0NF69an007311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Jan 2018 15:06:11 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 w0NF68BX015667; Tue, 23 Jan 2018 15:06:08 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0NF68P6015666; Tue, 23 Jan 2018 15:06:08 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Oleg Nesterov , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Luis de Bethencourt Subject: [PATCH] arm64: ptrace: Fix trailing semicolon Date: Tue, 23 Jan 2018 15:06:06 +0000 Message-Id: <20180123150606.15601-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/arm64/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c index 7c44658b316d..609f93557180 100644 --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -1419,7 +1419,7 @@ static int compat_ptrace_hbp_get(unsigned int note_type, u64 addr = 0; u32 ctrl = 0; - int err, idx = compat_ptrace_hbp_num_to_idx(num);; + int err, idx = compat_ptrace_hbp_num_to_idx(num); if (num & 1) { err = ptrace_hbp_get_addr(note_type, tsk, idx, &addr); -- 2.15.1