Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5222634rwp; Sun, 16 Jul 2023 23:19:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlG7T0D8Y6Sloxe1jOyBZSJt+vSiVwM/wE1K7t8ZGp7VlCLzID7euJHEr7sVaYUaTW6+MNs8 X-Received: by 2002:a17:902:d485:b0:1b1:9802:a31b with SMTP id c5-20020a170902d48500b001b19802a31bmr11816858plg.41.1689574754013; Sun, 16 Jul 2023 23:19:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689574753; cv=none; d=google.com; s=arc-20160816; b=eWwCZinRwoIdMVmMQj2bc2cTw0904enTuh8tdhiy3SiAS1rHpn+JyAEt6YexRzCiKa 0BTQuUcq8jNMmeBiHRAeYUTEVKwqt9oaKw9+uwrjFMXqNX4vOJq0e/dJp8TrATiO4ajT t7liRkp/n3R2kpSDcvedTUgBITinCP+vnQ/gSQwVUG/fF+hjguISKzu1kgsMNJf3SUM3 EQ64ZsksNj3/Jw9KaYelgulc0wkxMi8rJ9AGPe53qbT4EwiuDDNZPoOeEOjCjgRiiPGA VFvbK8Fuxqdu3bNp+qbu+StdJ/yyqAWic6wAX4NEnlNuEhtMtGW7YY7w/PAZUWMsu7Bp 0W7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=h5vdt92bSyg0EvA2PkQICdCJejhDYO1TdTN8tcGwlR4=; fh=/oavsAB0360foXdHjee7wUZb024sGZ8bOrnR6l1sK4E=; b=fbjoebtYPjZKj/Rmk7FkblzXpEwBdcREcRWmgTmv0r3UUdgLeKn6+qe/F9cA6/ZqlB r34fB7MeGU91f8iytyapiXtDUJsk8R2nYPdJmz4Xe+FHCo8ac6bVbcDvQcLlKBEln5DB F5SpEMAkM8C1LaSshTG0Ep3jjnmc4pPXl6HdxFmMx1o5nSJmccoPIgGlyjAMKi8BM5m9 sdm2nEi6DdsEASF8U2n4YIKnFUF4S76G2pB8CaY88aEZ34GucbwqG7mECDGusgZr0KS8 ofd/vfMXeSbKgimdWaZt3FcOhx5sQlfLJ8wSfzPRjK9WjSceG7/qVVtXGCDzNOE28V4N d86w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RJDLAwyk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d13-20020a170902654d00b001b89cda5e12si10910924pln.546.2023.07.16.23.19.01; Sun, 16 Jul 2023 23:19:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RJDLAwyk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjGQGJB (ORCPT + 99 others); Mon, 17 Jul 2023 02:09:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231474AbjGQGIn (ORCPT ); Mon, 17 Jul 2023 02:08:43 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2187010E9; Sun, 16 Jul 2023 23:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=h5vdt92bSyg0EvA2PkQICdCJejhDYO1TdTN8tcGwlR4=; b=RJDLAwykm/r7eS/4pmQ1NgICEy VcZNBvftSfVhYPsJFMTYuxVkUitF6isZsQuRrv6Wlh/k8u2DlhatHZHdUYQwsDP97PI8Gk9t2HM2C KDvfwRPtGeG7kLgmfFaeBNq5arhW9uefih7uKAbGBQCTyEXQPaeZ2wCZLsTi8E4YFxNIGiXLFzC38 u2DcVWK9eBAVOuGSdWoN+FiyQ/bJPgAzmFUVO6puvIldgClw0eOVKXHIVXPhdL3v6ADn1vV24PsGL yHjvxu5Wv3WfWZA3ha/itphMe0sCpqQzDS4cSeNtYr7Pm6tcJK/j7Ivw7Lm8lrmU2S2sX5aVif8Nq 47qWKC7A==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qLHPM-002wMg-1z; Mon, 17 Jul 2023 06:08:32 +0000 Message-ID: <658bfc14-3819-8cf2-6e08-a9794c72f4c8@infradead.org> Date: Sun, 16 Jul 2023 23:08:31 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] proc: Fix four errors in kmsg.c Content-Language: en-US To: Sergey Senozhatsky , huzhi001@208suo.com, Petr Mladek Cc: tglx@linutronix.de, adobriyan@gmail.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <2f88487fa9f29eeb5a5bd4b6946a7e4c@208suo.com> <20230717060500.GB57770@google.com> From: Randy Dunlap In-Reply-To: <20230717060500.GB57770@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/16/23 23:05, Sergey Senozhatsky wrote: > On (23/07/14 10:22), Petr Mladek wrote: >> On Fri 2023-07-14 14:57:59, huzhi001@208suo.com wrote: >>> The following checkpatch errors are removed: >>> ERROR: "foo * bar" should be "foo *bar" >>> ERROR: "foo * bar" should be "foo *bar" >>> ERROR: "foo * bar" should be "foo *bar" >>> ERROR: "foo * bar" should be "foo *bar" >> >> Please, do not do fix these cosmetic issues reported by checkpatch.pl. >> It is not worth the effort. In fact, it is contra productive. >> It complicates the git history, backports. > > Absolutely agree with Petr. > > As a side note, I wonder if checkpatch can deprecate that -f option? Either that or document in very strong language that it should only be used in very special circumstances, usually by the file owner or maintainer. -- ~Randy