Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5012575ybl; Wed, 22 Jan 2020 08:41:26 -0800 (PST) X-Google-Smtp-Source: APXvYqwYk2ltRS1s0lXxmGm5298Nt1bVUCZsEqDHxeYgcpEy2yviphca9NIae8LXTNyBVhCjAnTU X-Received: by 2002:a9d:73d9:: with SMTP id m25mr8164823otk.350.1579711286268; Wed, 22 Jan 2020 08:41:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579711286; cv=none; d=google.com; s=arc-20160816; b=fWZK4w5D50Jty8py8ey6p3lk5ofWLcbr8uQbLLDNbo+lLG6N/hIboaQep+zY5vcKuV dLQQuseBPufkYNU3PEM462eIH/+vQjAx2krZWl3lR/84L8wCL594STz+0jI74lnG39Ls I3WzRTVtERnYMU+UJRd+2NTv4Xop6glC7it8GIe7J0lxdvoRAVEISLgQvZ1fZqFvNhv/ /pPCP7zyeQV4mOOFNo3BbP7RXGpgiAZ/mBYoLzW5fVPF+30Wo7ghVQ72MNSXgEgvIbdw j5BfzMydQwRAb+5TaN3fzxwAXOkTZ3AgUHr9OsnspZQaYSYp6/9u5ryU2IeUXH0gmtqc WmEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ISOzxj90O+fz5CSuTDY5BazvTkazsQWlW34bj31h6NU=; b=Hnd5KP6s6JTBRv0Ntbw7Gw5/fBmHUEF1ll+BFjDz1fHFI86n41Fkg5BxS/pqJLP0To 6cjpjsceEQ+C9z3KvvqXNUFOg7RPNX9huZxf0TuVEx+8pxJfPibezKsJ3yTXFpUVShpN 2hl/s0bbzqwRiP8CIj2oVwgGhS6YWdbnuhQlFIBMKN3xrogZwcjGVbE+UZo23w0VfYqd 2agMJRWEprmNzFaxdXqA6YFC4kZu71bI5rwcCImLkZqZgLjKC+Be6MLFm9aw7ACV5xcM u4XE109S3O1uiLQWX5L0gPmIAeSPgOnYRQlzheiQJSQYMLQNjFix6sXwYJMRDfEZFXiG 7VBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ox4HKIMg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s22si21396547oij.35.2020.01.22.08.41.13; Wed, 22 Jan 2020 08:41:26 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ox4HKIMg; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728665AbgAVQj5 (ORCPT + 99 others); Wed, 22 Jan 2020 11:39:57 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:35459 "EHLO mail-wm1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725883AbgAVQjz (ORCPT ); Wed, 22 Jan 2020 11:39:55 -0500 Received: by mail-wm1-f54.google.com with SMTP id p17so7904526wmb.0 for ; Wed, 22 Jan 2020 08:39:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ISOzxj90O+fz5CSuTDY5BazvTkazsQWlW34bj31h6NU=; b=Ox4HKIMgjYRHxQmUzOeTEsAyVhpRANJMIEvrvIiSyK3ySpsiiDytvMlexgR6RtzC+y e+5SnP0VNJAWpRqRHFgIhnf8/vHcOSKD6GtKqvjbHO8Qe3HcsW/3nTDBBFx5zx5dcNlt s36JgXeMnfpcGW5y5MCy4JHRw+BQzehG4MU5pJamVSrlwUf1nCBZDS+EOQXD49XcAgm3 b8oR49r2BddUotlSa6E5op5bFQEQhaFg46H0TDKA8sZdpKkF2MX0fBai+uOhWd3/27X4 jotT2dXlF6apVByEwjbMvTi6+O1cujS7p6/dN1sMdZWmhVksAoIb4QViJpOBz0EjXPXl DOaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ISOzxj90O+fz5CSuTDY5BazvTkazsQWlW34bj31h6NU=; b=MzAvYZHe8+8JGI8GWA5jrA3c3N9/CY9+2+5ydRBPW77W7H2aAQBoG+MN/QBn+9p2qd J3zutVOZ6LWuStq4uC7PqvvhXQn2xrbM+YV8AXaVRZR2EooYndafZsGkH7HsxL41I362 54J6/LNa9VL4DleaZdpROf6lfw4xqMa7VWxbeALApxnH59uQCE4iVe8IrPEbdPsqWWxq kILy5LHPev4FArbo77nyC276qryP9pHEqoWTBGK+K551/uk2C2IdDXVw4P9UJlCR/ALd ErDLhdnSn+75jr/knw/PtFMBPFkc7v0NlLVVwSNZR3H94dFw6swLua27s2AymgN6QR1x ndOQ== X-Gm-Message-State: APjAAAV3kyIC4t+iC+VB66j838xwsHz5avfRizJq3jZa79YlOXOaXZ5F u1ScUj9H3g9jsH1zvyWm3hY= X-Received: by 2002:a1c:1fd0:: with SMTP id f199mr3711671wmf.113.1579711193374; Wed, 22 Jan 2020 08:39:53 -0800 (PST) Received: from localhost.localdomain (lneuilly-657-1-69-3.w80-11.abo.wanadoo.fr. [80.11.53.3]) by smtp.gmail.com with ESMTPSA id j2sm4908557wmk.23.2020.01.22.08.39.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 08:39:52 -0800 (PST) From: Antonio Borneo To: Joe Perches , Andy Whitcroft Cc: Antonio Borneo , linux-kernel@vger.kernel.org Subject: [PATCH V2] checkpatch: fix minor typo and mixed space+tab in indentation Date: Wed, 22 Jan 2020 17:38:51 +0100 Message-Id: <20200122163852.124417-2-borneo.antonio@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20190508122721.7513-3-borneo.antonio@gmail.com> References: <20190508122721.7513-3-borneo.antonio@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix spelling of "concatenation". Don't use tab after space in indentation. Signed-off-by: Antonio Borneo --- v1 -> v2 rebased --- scripts/checkpatch.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 30da08d9646a..4c1be774b0ed 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -4582,7 +4582,7 @@ sub process { ($op eq '>' && $ca =~ /<\S+\@\S+$/)) { - $ok = 1; + $ok = 1; } # for asm volatile statements @@ -4917,7 +4917,7 @@ sub process { # conditional. substr($s, 0, length($c), ''); $s =~ s/\n.*//g; - $s =~ s/$;//g; # Remove any comments + $s =~ s/$;//g; # Remove any comments if (length($c) && $s !~ /^\s*{?\s*\\*\s*$/ && $c !~ /}\s*while\s*/) { @@ -4956,7 +4956,7 @@ sub process { # if and else should not have general statements after it if ($line =~ /^.\s*(?:}\s*)?else\b(.*)/) { my $s = $1; - $s =~ s/$;//g; # Remove any comments + $s =~ s/$;//g; # Remove any comments if ($s !~ /^\s*(?:\sif|(?:{|)\s*\\?\s*$)/) { ERROR("TRAILING_STATEMENTS", "trailing statements should be on next line\n" . $herecurr); @@ -5132,7 +5132,7 @@ sub process { { } - # Flatten any obvious string concatentation. + # Flatten any obvious string concatenation. while ($dstat =~ s/($String)\s*$Ident/$1/ || $dstat =~ s/$Ident\s*($String)/$1/) { -- 2.25.0