Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp121888imj; Thu, 14 Feb 2019 16:46:31 -0800 (PST) X-Google-Smtp-Source: AHgI3IaEiaMvQc/Sat+LhnCcml8gqG50k9jHKEjRHNuU9kIVeEB7Vdtpa8JofP5RrkIzOswTzkqa X-Received: by 2002:a17:902:848f:: with SMTP id c15mr7016113plo.119.1550191591213; Thu, 14 Feb 2019 16:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550191591; cv=none; d=google.com; s=arc-20160816; b=PmjKE/vF9gjOZ0PTHiPpvIZ+fvIXzsYbFZiKz8jIRr9lpqeShWOVMbiqsKc0z18vA9 B0YPRGe+msPUvrq3jo6xP+Leeyzqeb6dEC/hQW5k8j2QhzMBihIT7rIBUvJkra0ydgLo T31az/n5xJTkMq8r/bGCNC3eefKsZMs58vT9PGAC2PvghZvIyzXh6cztt6/GjrO75vHW DwX+U3HlHybKj/i3v5cea1qWuNvNo5tbT3iXj2QLKS44dF4+jj5zcKgAMkGPOk4TtBxU 9S4REAye6f3R3ksyvbyul0pCLQ6Eeq0uqr+cQcmMhy0EeFkis+I838oHK581Yj4IgC1W G5EQ== 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:reply-to:to:from :dkim-signature; bh=qA6wnO/edSjaUoWyIRbxkdUJ9Ugrp77Y2faFycUq+ow=; b=cwXNUBRrEX6aPIVBt91oKXFIbGZ9UeguabVTzXYm4K0B3Qf8XQSPomnaxHuPbUlbWS 3FaGlSa6195IadEw51VGoAjpj3dm31daH9PNj8AMeXw4j1BfHeNZVPBv2cQbR36eksIm zSWkxHO9fazofiOsJlhVqUe2gkdxDHG9qTan8BRpW3zEv29HDUgI27+/OXZm9na/Rlfs jX+8Hz996M7vx1EL+vzO4Y0F6nM6D2b04iLBp1XuhmJ0MmtZD5+yb5lg4yew63MghMjT a8cK8eH+ZZ2uDbtCl3rVUte1HMANsYAv89Mh9x4gGZMbpGc2P2kCdPef72wXeYHmgX9X HU1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cern.onmicrosoft.com header.s=selector1-cern-ch header.b=eqiTrGkZ; 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 g26si1299177pfi.184.2019.02.14.16.46.15; Thu, 14 Feb 2019 16:46:31 -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=eqiTrGkZ; 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 S2501887AbfBNPWa (ORCPT + 99 others); Thu, 14 Feb 2019 10:22:30 -0500 Received: from mail-eopbgr40064.outbound.protection.outlook.com ([40.107.4.64]:35616 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404698AbfBNPW3 (ORCPT ); Thu, 14 Feb 2019 10:22:29 -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=qA6wnO/edSjaUoWyIRbxkdUJ9Ugrp77Y2faFycUq+ow=; b=eqiTrGkZAm4PjPR4wSqQxbVdMriIqGCbUC9c0YpE0pSyW8Q5clIO1uwG4ksrw9dzOnfIrjQ6t4OW39n9Nq6fMTgw6s0EeT6SX7Q8PZOHxe2yhDym6Kmbf4VHkaLfNHMGzm9+QWid3XA0GlnHCrgt0WgUPx49K+9CDeCRNV1pBcA= Received: from AM5PR0602CA0020.eurprd06.prod.outlook.com (2603:10a6:203:a3::30) by DB7PR06MB4725.eurprd06.prod.outlook.com (2603:10a6:10:56::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.16; Thu, 14 Feb 2019 15:22:26 +0000 Received: from AM5EUR02FT055.eop-EUR02.prod.protection.outlook.com (2a01:111:f400:7e1e::204) by AM5PR0602CA0020.outlook.office365.com (2603:10a6:203:a3::30) 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 15:22:26 +0000 Authentication-Results: spf=pass (sender IP is 188.184.36.46) smtp.mailfrom=cern.ch; perches.com; dkim=none (message not signed) header.d=none;perches.com; dmarc=bestguesspass action=none header.from=cern.ch; Received-SPF: Pass (protection.outlook.com: domain of cern.ch designates 188.184.36.46 as permitted sender) receiver=protection.outlook.com; client-ip=188.184.36.46; helo=cernmxgwlb4.cern.ch; Received: from cernmxgwlb4.cern.ch (188.184.36.46) by AM5EUR02FT055.mail.protection.outlook.com (10.152.9.191) 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 15:22:26 +0000 Received: from cernfe02.cern.ch (188.184.36.47) by cernmxgwlb4.cern.ch (188.184.36.46) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Feb 2019 16:22:24 +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 16:22:22 +0100 From: Federico Vaga To: Joe Perches Reply-To: CC: Andy Whitcroft , Subject: Re: report: scripts: checkpatch: Spell Checker Does Not Run with '-f' Date: Thu, 14 Feb 2019 16:22:23 +0100 Message-ID: <18906867.g0OWnkFYVf@pcbe13614> In-Reply-To: References: <3030138.e1gdHPWlgN@pcbe13614> <2899994.xJFnvJAAA5@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.46;IPV:NLI;CTRY:CH;EFV:NLI;SFV:NSPM;SFS:(10001)(10009020)(459900002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR06MB4725;H:cernmxgwlb4.cern.ch;FPR:;SPF:None;LANG:en; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6332a037-c283-4503-374d-08d692903a1d X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4608076)(4709027)(5565046)(2017052603328)(7153060)(7193020);SRVR:DB7PR06MB4725; X-MS-TrafficTypeDiagnostic: DB7PR06MB4725: X-Microsoft-Exchange-Diagnostics: 1;DB7PR06MB4725;20:oAb0sDd/FniOFQkUdhPly778zZU2FbHD9Hp4FRh77IDYgx1nx0qjeHIksobhM7VlKP3ZmaLX24/p8FWJCU4sT094yvhI+SFlweOlcd7T/63JsV1B0hBg91i1kQBt0QX/Om4uXrJCieFxNLcupdoN2edqso8vlhuMZheMPnkIq/txhR6hAAsD1jEP0etorXMhQOc1SrDPDG8zsh9bS115BtYzajLZojWM4rSJXXVOWQt8PaNNoW0tMrccg3pXlY9+3L6pyPVMYBIyUw3WfB89w0FzUAXGhiWjCSGnXtRxd8XxXooiVE4F9OX1IKg9ogtc8PX3l6eNa+J5iZzDqyAtTsEzWhRxxYsn+HDXMMSc7xXIz0GKRJkeH6wRgC6THeCwWZFjTXgPdd2oJaBJaxTiEWiQyOcpZ1jN+2tckICEeqeyDACXXhAfV7PXkya1gPE+8BhxVUTek7xITsonJLPDY/xB4S5Nu39zaNhO9iXu68rfOTIzkmMrO4B9g7i1hgb2;23:axZeP/UFAcQkZHgxXJcvldvKBjQQhXTVkoB94LH5vqEPSNSlLY0lmkAgFbABjtqyRfykMFaCLdnNvgzubqJzTIfTtzxukCjqtf9nd7EMzbTlCb0GD3dGu9YjFIcZhWu6WLu8tIsx+3WxtIxt/QzsHzVfKSgToCGJvfiaIJuXiJKI5z89msCV9HIo4aFaYgCY X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 09480768F8 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: gH7ZBQWZpgmBOc3F11z985Ip11kFtTQjFBMlGrNyBHKnhDWZS5HS7+tb7wNb4zucSm5GJF1eU76xjGnDUIKHFFJV253/5B8XSkiTdVQAvIWMpGldQFIeEiqoSOVM2kz+RoWV6PaWuYWuiTTd5OCVewJpnLv0UYG0R1cnBv7xwzDLXBwwmgMYguS9TrkjSP+3AJnajy8mAdTTByEjPLsGsa2VZRgapR0M99qa5KQBK5vuhQVzYHk43251z0BWSsHTjsrk6Iw44KY+ZGoRmk54SAclYKGS+rhKbg5GGSe1nX9dSRFrZfFGUZDYMWVtrcZPcRghhqjJv7m9cDHOa1qoDhmJEPbYw14l8brDU1lySVX7VOcUJguo5ugBZCIkIl0PUPgJCkP4vkAspUBbmiUtpxi0cC2seLQtAPdwaK5/t+AJLOSJ7aMMri23+otCIhLsXx203HAX77z4eS0LlV8BBRqeylPWWCGxK6TR1dQcmigdLqhcERArE0AiwIphIE+3aidLA1BHdbciJKEuJQsbwIaK8Li454kgmVmq0X2ctU0= X-OriginatorOrg: cern.ch X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2019 15:22:26.4981 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6332a037-c283-4503-374d-08d692903a1d 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.46];Helo=[cernmxgwlb4.cern.ch] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR06MB4725 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, February 14, 2019 4:19:36 PM CET Joe Perches wrote: > On Thu, 2019-02-14 at 16:03 +0100, Federico Vaga wrote: > > On Thursday, February 14, 2019 3:44:55 PM CET Joe Perches wrote: > > > On Thu, 2019-02-14 at 13:48 +0100, Federico Vaga wrote: > > > > 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: > > > If you want spelling fixes on files you have to use --strict > > > > Thanks > > > > Is it a design choice to have different checks enabled with '-f'? > > Yes. > > It was for a minimization of churn. Thank you for the information. > commit 66b47b4a9dad00e45c049d79966de9a3a1f4d337 > Author: Kees Cook > Date: Mon Oct 13 15:51:57 2014 -0700 > > checkpatch: look for common misspellings > > Check for misspellings, based on Debian's lintian list. Several false > positives were removed, and several additional words added that were > common in the kernel: > > backword backwords > invalide valide > recieves > singed unsinged > > While going back and fixing existing spelling mistakes isn't a high > priority, it'd be nice to try to catch them before they hit the tree.