From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2F28C4361B for ; Thu, 3 Dec 2020 16:46:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9E9922085B for ; Thu, 3 Dec 2020 16:46:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2501903AbgLCQqV (ORCPT ); Thu, 3 Dec 2020 11:46:21 -0500 Received: from smtprelay0015.hostedemail.com ([216.40.44.15]:59498 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728092AbgLCQqV (ORCPT ); Thu, 3 Dec 2020 11:46:21 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 2D823182CED28; Thu, 3 Dec 2020 16:45:40 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: shock56_120e5e2273bd X-Filterd-Recvd-Size: 1871 Received: from XPS-9350.home (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Thu, 3 Dec 2020 16:45:36 +0000 (UTC) Message-ID: Subject: Re: [PATCH] netfilter: conntrack: fix -Wformat From: Joe Perches To: Tom Rix , Lukas Bulwahn Cc: Nick Desaulniers , Nathan Chancellor , LKML , clang-built-linux , Dwaipayan Ray Date: Thu, 03 Dec 2020 08:45:34 -0800 In-Reply-To: <844b0184-a74b-4d0a-8470-69d58323391a@redhat.com> References: <20201107075550.2244055-1-ndesaulniers@google.com> <4910042649a4f3ab22fac93191b8c1fa0a2e17c3.camel@perches.com> <26052c5a0a098aa7d9c0c8a1d39cc4a8f7915dd2.camel@perches.com> <7ca84085-f8e1-6792-7d1c-455815986572@redhat.com> <844b0184-a74b-4d0a-8470-69d58323391a@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-12-03 at 06:39 -0800, Tom Rix wrote: > I agree if it can be done in checkpatch it should. > It is good to have multiple passes on cleaning. true > checkpatch is best at fixing new problems, > clang-tidy-fix is best at fixing old problems. checkpatch is a set of brainless regexes that operates on incomplete information. It's not a real parser nor compiler. It's really only useful as a way to avoid trivial style issues.