Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6415414rwd; Mon, 19 Jun 2023 07:03:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6D53phfvSi+iunYqI55YctHvHWR/4HGEXPRVfVg3mUxnDIfZm+hsXJAphiweyH7txkCrEP X-Received: by 2002:a05:6a00:2191:b0:667:85e6:4d1 with SMTP id h17-20020a056a00219100b0066785e604d1mr9505905pfi.33.1687183423823; Mon, 19 Jun 2023 07:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687183423; cv=none; d=google.com; s=arc-20160816; b=MDnQTkLACfquIYRH0cwohKeb6W5zdYstUsy1I6ho9dwFMtT/OxUrWtnEHIq+RTTD0Y fMBcDItHlpPVepgNXBXRicA3j2QQ5k1vXX63MaCWBREP6p5euYrY3XKk8Vc39flDiR6e tfUp8qarOI1iNapWylTYhKa4S87kxNz72LldNIbjq8Txysa3KKbZJmU+ZaS5tMrSzp5c 94Tj+dyijw9WPZ0ZPvAfdBaJkjBir/SBMrxghYK7ZKa7jMVPpTreTs/2yqQqTVfZN/iZ twpXOyy+8xRYSg560CUA1vU49jzT7IHxQUdspKtXnJpL8zh5wzyK2vQh9jxa7yEcMxee OgIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=e/SWAgI5HI5GKotedaHyXkoUm3dh7H6kmLw/xseZ1DY=; b=PCJFDEAdMHlsHR589Oq9iwqhazTesBErJvU3DXytiAzds6IGXJhV4Qs0TTmnPU5nS/ 4qssRmT8c41QGrG1ljIMznmasqkvDF8AkwNuOrDgGBRxNLnhaD6Fxxy18F1beFinjBPo W2zSmUV6h54UGSjvXJVs/H1s05dFPHyVFRnr+PFPn9WEHsGiRmIJ9NEQ7nRw9+5KnCUq otvxUwTPB2sBnFmabjtCOPRSVn2v+WLE8lm67vQlYIaUPcpFR9C6kE09vr6KmgWExEnT JN+s02OJL7DlDg6g93YoLuFyalk4GkAOjx4LaMrTESrfwvfly+4+eXOdjNuHXXiXVIj4 K5aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Ie5U9APg; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v16-20020a63d550000000b00543a6cf2b5csi20144645pgi.662.2023.06.19.07.03.22; Mon, 19 Jun 2023 07:03:43 -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=@suse.com header.s=susede1 header.b=Ie5U9APg; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231750AbjFSNUw (ORCPT + 99 others); Mon, 19 Jun 2023 09:20:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231810AbjFSNUv (ORCPT ); Mon, 19 Jun 2023 09:20:51 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A65F1AC for ; Mon, 19 Jun 2023 06:20:46 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id B5F3D218E6; Mon, 19 Jun 2023 13:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1687180844; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=e/SWAgI5HI5GKotedaHyXkoUm3dh7H6kmLw/xseZ1DY=; b=Ie5U9APgMNUrpdGe8gCGjCqqdjxijMm8mC7Jg+stWOZ4RJQ2y2YZR0JpNcWbyrYeg2nVlO +wmOA1LaSR8fv9KGy1lJuFah5Ye7K4lfmj8J1UhcPcHAwRYkZkDOBtc70sFlWgVkg2pUjr QqaXc/VcESKX0joJQ2fBzlWFE72BbUo= Received: from suse.cz (unknown [10.100.208.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 00E252C141; Mon, 19 Jun 2023 13:20:43 +0000 (UTC) Date: Mon, 19 Jun 2023 15:20:43 +0200 From: Petr Mladek To: Pavel Machek Cc: Andy Shevchenko , Steven Rostedt , hexingwei001@208suo.com, senozhatsky@chromium.org, linux-kernel@vger.kernel.org, linux@rasmusvillemoes.dk Subject: Re: [PATCH] lib/test_printf.c: space required after that ',' Message-ID: References: <20230614082523.63191-1-panzhiai@cdjrlc.com> <20230614110640.57817123@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,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 Mon 2023-06-19 08:45:22, Pavel Machek wrote: > On Wed 2023-06-14 18:16:36, Andy Shevchenko wrote: > > On Wed, Jun 14, 2023 at 11:06:40AM -0400, Steven Rostedt wrote: > > > On Wed, 14 Jun 2023 15:32:30 +0300 > > > Andy Shevchenko wrote: > > > > On Wed, Jun 14, 2023 at 04:30:55PM +0800, hexingwei001@208suo.com wrote: > > > > > Add missing spaces to clear checkpatch errors: > > > > > > > > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV). > > > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV). > > > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV). > > > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV). > > > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV). > > > > > lib/test_printf.c:562: ERROR: space required after that ',' (ctx:VxV). > > > > > > > > Doesn't make any difference to the code, so let do this (unneeded) churn > > > > to calm checkpatch down. > > > > > > > > Reviewed-by: Andy Shevchenko > > > > > > checkpatch is for patches (new code) and should not be run on existing code. > > > > Why does it have -f option? What do you propose to prevent people from using it? > > Brain needs to be used while using checkpatch. I agree. Also I agree with Sergey that these changes just complicate backport. I would prefer if people did not send these cosmetic "fixes". > Plus, autosel is "great" trying to backport anything that mentions > "error", so better don't do this. Autosel is another tool which would deserve a human filter. Well, we have it because of lack of resources... I am surprised that checkpatch.po reports the missing space as an "ERROR" in the first place. Best Regards, Petr