Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp60275imj; Thu, 14 Feb 2019 15:20:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ1IWCJiWkd23j/9RHffNwf1ncmqe/KvpYCOX7GvpjeHEcLjIChxiiiCMRq8G/uPvYt07qh X-Received: by 2002:a17:902:9b87:: with SMTP id y7mr6954781plp.336.1550186433156; Thu, 14 Feb 2019 15:20:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550186433; cv=none; d=google.com; s=arc-20160816; b=srtElBXyIA/MK+nIahFkyaBPI1DoOmGwKE7A2f6oeJiG4XCZhdFMmpARG7qkJckRrg uMf/tsB4n98NrzGfjR5o7wqtvImq04JWi63ElkEH7/DNlA2L0PeznujI7xgjnTrWfjzG Jhle5cNDn5fiyP2LjVHH+5TEMYE9Q4Xs8uMWElzVHWNgzUjwTryz2uXm+ArDJTNe9cuO TXauy7AgbS5bYFbeVpQpYE/I0yTO/0W2aX3C49w6COf/Tn2xWsmLF/6HiyfqM8rMnAMT 1OeYs6vZaJK68osGG3pIcT36YT963sYqUuAACT3WiJEzSPPL7j2CRAgq23yp2A83C83t s+jg== 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 :message-id:date:subject:reply-to:to:from:dkim-signature; bh=KGASrYmTzQfTjQFydY1aesMHJZ5vYnPjo8FpdvyACCo=; b=RBjSvl2Gx/iMnN5ftCJisT0PVyZD1T0DLNdaqw+0DEdz1Alv0AtZFnQbLA4YzAwhoq 0s8MbUlLszIEJ5ueBpmbu1i0NcZJhKQN3ZdCnjH+TBOFBAybQ6NwIsr9q2VhsAl1OrN2 i6djlOES1rZjKUfd/4ATgF72O6Jf5r5NCwlvDDZ0JVRPkbDtkCjd1EdTFT2kuz9L4iWj IwZHy7hzaYCL6z+kUP42QFfANAI3dXxBMtDA9DghLfwz057sKN9b58aXThaqH2zqQenj OR3eFJ3GfxNgYSuZAwgtVTbXW/stpGmaTy/6wcHLo833g4hN89Kyp798QVrWwTcM4a6M X81A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cern.onmicrosoft.com header.s=selector1-cern-ch header.b=efxTzB1d; 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 r10si3684075pls.33.2019.02.14.15.20.16; Thu, 14 Feb 2019 15:20:33 -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=@cern.onmicrosoft.com header.s=selector1-cern-ch header.b=efxTzB1d; 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 S2436640AbfBNMtK (ORCPT + 99 others); Thu, 14 Feb 2019 07:49:10 -0500 Received: from mail-eopbgr60041.outbound.protection.outlook.com ([40.107.6.41]:26910 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727958AbfBNMtJ (ORCPT ); Thu, 14 Feb 2019 07:49:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cern.onmicrosoft.com; s=selector1-cern-ch; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KGASrYmTzQfTjQFydY1aesMHJZ5vYnPjo8FpdvyACCo=; b=efxTzB1d3xbwTok4Lh6E87xb8fuUZFL5s0fACsuFQTUc4BQ9D5N5LCagooEKOoeNq7s6dUmEx+OGNsvIiFn/eKp/hC12npeqhHqk/xX288y/t3Aj4NGy4dM9y90FADRcX4Z5OgU5Y4mRBkScy6hHGDDWIg0oqirP9m6BdcTGM6I= Received: from AM5PR0601CA0033.eurprd06.prod.outlook.com (2603:10a6:203:68::19) by DB6PR0601MB2149.eurprd06.prod.outlook.com (2603:10a6:4:4c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.17; Thu, 14 Feb 2019 12:48:26 +0000 Received: from HE1EUR02FT063.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e05::208) by AM5PR0601CA0033.outlook.office365.com (2603:10a6:203:68::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1622.16 via Frontend Transport; Thu, 14 Feb 2019 12:48:26 +0000 Authentication-Results: spf=pass (sender IP is 188.184.36.48) smtp.mailfrom=cern.ch; canonical.com; dkim=none (message not signed) header.d=none;canonical.com; dmarc=bestguesspass action=none header.from=cern.ch; Received-SPF: Pass (protection.outlook.com: domain of cern.ch designates 188.184.36.48 as permitted sender) receiver=protection.outlook.com; client-ip=188.184.36.48; helo=cernmxgwlb4.cern.ch; Received: from cernmxgwlb4.cern.ch (188.184.36.48) by HE1EUR02FT063.mail.protection.outlook.com (10.152.11.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1580.10 via Frontend Transport; Thu, 14 Feb 2019 12:48:26 +0000 Received: from cernfe02.cern.ch (188.184.36.47) by cernmxgwlb4.cern.ch (188.184.36.48) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Feb 2019 13:48:25 +0100 Received: from pcbe13614.localnet (2001:1458:202:121::100:40) by smtp.cern.ch (2001:1458:201:66::100:14) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Feb 2019 13:48:24 +0100 From: Federico Vaga To: Andy Whitcroft , Joe Perches , Reply-To: Subject: report: scripts: checkpatch: Spell Checker Does Not Run with '-f' Date: Thu, 14 Feb 2019 13:48:24 +0100 Message-ID: <3030138.e1gdHPWlgN@pcbe13614> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [2001:1458:202:121::100:40] X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:188.184.36.48;IPV:NLI;CTRY:CH;EFV:NLI;SFV:NSPM;SFS:(10009020)(136003)(346002)(376002)(39860400002)(396003)(2980300002)(189003)(199004)(97756001)(106002)(6116002)(786003)(7736002)(26005)(50466002)(8676002)(7636002)(9686003)(46406003)(8936002)(316002)(336012)(47776003)(246002)(426003)(3450700001)(186003)(23726003)(16526019)(2906002)(14444005)(43066004)(356004)(33896004)(126002)(486006)(9576002)(476003)(305945005)(106466001)(53546011)(86362001)(230700001)(110136005)(478600001)(74482002)(44832011)(33716001)(39026011);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0601MB2149;H:cernmxgwlb4.cern.ch;FPR:;SPF:Pass;LANG:en;PTR:cernmx12.cern.ch;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a803276f-1c3d-488c-0fd7-08d6927ab67d X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4608076)(4709027)(2017052603328)(7153060)(7193020);SRVR:DB6PR0601MB2149; X-MS-TrafficTypeDiagnostic: DB6PR0601MB2149: X-Microsoft-Exchange-Diagnostics: 1;DB6PR0601MB2149;20:7EWxa+Wf68EjQQIuWvIL4mvdV94dT0i0v+SfGiK6yqnXlSV1aMA+jCo1Xi0kCGhC0S9ItM04p2/sV5vKHCR7xWfzSGmJ60IBjFP2BAcEYzdM8POiMMAYQjVdKqd+OAigLKInrJUvFV5IHjPlzHXU+J0FhMnDxLs+F/ymFJ/VmgXOkT4mYQK7CbK1+xF76qEN7Z8uhCU2OfmDI8+ZeSjbA26mG6E00iBGw7Amw/10dcDiMxDJY1ht6HEG+AL2rHA8W1WRqw+8sa/tHAxFMLSgVmeDOTf9xyvvfpPNotTwmvWie4yuRNZeWCtHNaBxBpTGU/MVHncpX+q7vcG1EJQTqOBU+T0QuPR6lvFfEG+UD+7e9KE3SKPKkjbKzj2WQ6lxp1dG8Z8nwXrPSh2Irp1MLPdayLUKlZgrPi+vieMeu49ZEDqO8dYMoY0dTP5kOLC8QDHP1ZsfMCE+pB/3FgAuTMFgAxuC0lry06R2j2BufbZYwnu0mqXMIjSeX+qWu0GQ X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 09480768F8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB6PR0601MB2149;23:AoOlseHqw56OiN6mA/AbXdMrLwdp7cZCbb+YQf+?= =?us-ascii?Q?Qhsr1huHEpV1gUjdFJtEokifhywcAu42My/klaKQUOAJG0q4KZpQ8vSp7udd?= =?us-ascii?Q?yKVzxQ918hC5WGvgb/c+GOcXZggFWUuGfr5N1xZWqmCcSQexYFsSoBFWXIgL?= =?us-ascii?Q?eVgUSbh4Vgnr6gatf7OHD0/gn+vo53W7SiKlZAi2sns4jjrEGqHuM12Ovs3u?= =?us-ascii?Q?OcLdO3DumqEXe8fKPWtttfak862kNv/4R3rC4RtCgrbKstY3Ti0yBnKpeaf+?= =?us-ascii?Q?RFZ33JeLmx02gbupkkoNEjXidh9vpumL1JKcnib5k0lQ0/VJb0UI+fQOQjwT?= =?us-ascii?Q?mj/WmQKwi7F82578AVuQlVqLo57PNCBc+CM7rKMlLInAJnP9PnRmDzam+ZxX?= =?us-ascii?Q?bpE3EVG2bWama8OlZnDXsMSHPpwEW4dzwSyt/KX0W4K2DpiklJhjkwnlDP76?= =?us-ascii?Q?0Bk/9UFq2IEhYE2LRy5JbtbaNKFKr/rHNP6J8WS9/AUYp/QQfZ93Fq1vwszM?= =?us-ascii?Q?BC1iw3ahhoOvbED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iyxTmxWSYz+4liXLuGDlSYNGv7UxMMn0p8WrN3RzKWkYVdjOarstRI36akonF4yFfUPPyrwUk= X-OriginatorOrg: cern.ch X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2019 12:48:26.1826 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a803276f-1c3d-488c-0fd7-08d6927ab67d X-MS-Exchange-CrossTenant-Id: c80d3499-4a40-4a8c-986e-abce017d6b19 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c80d3499-4a40-4a8c-986e-abce017d6b19;Ip=[188.184.36.48];Helo=[cernmxgwlb4.cern.ch] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0601MB2149 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Recently I have produce a couple of patches but I get different warnings if I run checkpatch on the file (-f) or if I run it of a patch file. In particular, the problem I found is with the spell checker which seems to run only when the option '-f' is not used. I am wandering if there are other similar cases. I do not know Perl, so I cannot investigate more, but I have a practical example. I have this simple patch applied on my tree that introduces a spell error: From: Federico Vaga Date: Thu, 14 Feb 2019 13:29:39 +0100 Subject: [PATCH] script: checkpatch: buggy(?) output with -f option Signed-off-by: Federico Vaga --- drivers/i2c/busses/i2c-ocores.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index b32d67c..f4deb90 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c @@ -301,7 +301,7 @@ static int ocores_poll_wait(struct ocores_i2c *i2c) /* on going transfer */ mask = OCI2C_STAT_TIP; /* - * We wait for the data to be transferred (8bit), + * We wait for the data to be transfered (8bit), * then we start polling on the ACK/NACK bit */ udelay((8 * 1000) / i2c->bus_clock_khz); -- 2.15.0 And here the outputs from checkpatch --------- ON FILE ---------------- ./script/checkpatch.pl -f drivers/i2c/busses/i2c-ocores.c total: 0 errors, 0 warnings, 765 lines checked drivers/i2c/busses/i2c-ocores.c has no obvious style problems and is ready for submission. ---------- ON PATCH --------------- ./script/checkpatch.pl 0001-script-checkpatch-buggy-output-with-f-option.patch WARNING: Missing commit description - Add an appropriate one WARNING: 'transfered' may be misspelled - perhaps 'transferred'? #20: FILE: drivers/i2c/busses/i2c-ocores.c:304: + * We wait for the data to be transfered (8bit), total: 0 errors, 2 warnings, 8 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. 0001-script-checkpatch-buggy-output-with-f-option.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. -------------------------