Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9874563rwp; Thu, 20 Jul 2023 10:58:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQeu5wTYdFSfuZlQ10M5LyeyyW4YdlSYtR3AewCnsFG6s9FRyeRg63LD6w0Kl3WTmM8m3Q X-Received: by 2002:a05:6402:1254:b0:51d:ebf4:9874 with SMTP id l20-20020a056402125400b0051debf49874mr2629554edw.2.1689875906876; Thu, 20 Jul 2023 10:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689875906; cv=none; d=google.com; s=arc-20160816; b=jo+9+oLE9HWHlcGGUoUcTxXqtU3o6Y86dDIxHQfsWq39m7ZOaKy4LOSh3zqHnFChp+ MrKqYB9esNCdkubFuzEDNwDLQT1UURnNLWCMAST1JwodvO12iv8hzMZuuFBiKcjhbr6Y Dw1UU5NHgQaasezCaoqrGW9lDIsw/dNsA3S9RS209Whky58Ri8T8nGol2DLrwzbYmztM Svhj0kuqBGkPFUfVDaOEYwWVWRliP4t5gBUYG3OSmEcnJFr+4zW7cY6M7PTsozgfO8Qs 1DDoF9yQ4h7z20WmsxfTPk9bkMgExZ9VZzfgVK+QE8SBqgUZ1IPsvD+TSJWOf9KewOk+ tgSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=hdpXNPOHHqU1p1DmQOudYMpFd/0jMdJy9ndWF7yWhmY=; fh=CpQMmqaPOORZRqx8rQIpZyPMgoLY4UqC34yEz9udZVQ=; b=gvQ8aa4NZUxoDJDsRF/+SoFzaH1341UZ1//O9y4nkrC9kNMy3vsSIAUrXKHgcosNT/ h+24UvlRxDcZQgfnpwOMS5zTh+FEeZ3df5/o+dAEAt0MjlUGWomgalJyr8Ozvk+gIm1p osxOzLeGBM57VoudhSDuXengAnsE4+77g3qjRjnMHQOaQhsg3jQ/nwgb53AfQ1YNiMCB 6l94hUC03j+Se99JcqRXmShfc60+LR7lYvVZ0BJ4Hv/LXS33Y1sX+Tqots67CFCCY9gN i/c6/dfLeqgmvZ6zHTM/xroW3ymjzY+zgAmXRMpu58fOVUvRnQPM4W+Hv4n2InqPPlT7 4aQw== ARC-Authentication-Results: i=1; mx.google.com; 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 g6-20020aa7d1c6000000b0051e226c4e6dsi1060177edp.278.2023.07.20.10.58.02; Thu, 20 Jul 2023 10:58:26 -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; 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 S231190AbjGTRpI (ORCPT + 99 others); Thu, 20 Jul 2023 13:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjGTRpH (ORCPT ); Thu, 20 Jul 2023 13:45:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A2881726; Thu, 20 Jul 2023 10:45:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D2A9261B86; Thu, 20 Jul 2023 17:45:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D634C433C7; Thu, 20 Jul 2023 17:45:04 +0000 (UTC) Date: Thu, 20 Jul 2023 13:45:01 -0400 From: Steven Rostedt To: wuyonggang001@208suo.com Cc: mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: add missing spaces after ';' Message-ID: <20230720134501.01f9f1de@gandalf.local.home> In-Reply-To: <74685bd017411f96c8a846ebd5e3916a@208suo.com> References: <20230719064321.19047-1-xujianghui@cdjrlc.com> <74685bd017411f96c8a846ebd5e3916a@208suo.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Thu, 20 Jul 2023 10:30:36 +0800 wuyonggang001@208suo.com wrote: > Remove spaces to clear checkpatch errors. > > ERROR: space required after that ';' (ctx:VxV) PLEASE DO NOT RUN CHECKPATCH ON CURRENT CODE!!!! As the name suggests, checkpatch is for patches and not for existing code. It is used as a guideline tool to make clean patches. But checkpatch is *NOT* the rule of the kernel. There's lots of issues that checkpatch reports that can be ignored. That is decided when the patch is submitted, and SHOULD NOT be revisited once it has been accepted. Not to mention this particular error is silly. NACK!!! -- Steve > > Signed-off-by: Yonggang Wu > --- > include/trace/stages/stage4_event_fields.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/trace/stages/stage4_event_fields.h > b/include/trace/stages/stage4_event_fields.h > index b6f679ae21aa..9627e081a990 100644 > --- a/include/trace/stages/stage4_event_fields.h > +++ b/include/trace/stages/stage4_event_fields.h > @@ -2,7 +2,7 @@ > > /* Stage 4 definitions for creating trace events */ > > -#define ALIGN_STRUCTFIELD(type) ((int)(__alignof__(struct {type b;}))) > +#define ALIGN_STRUCTFIELD(type) ((int)(__alignof__(struct {type b; }))) > > #undef __field_ext > #define __field_ext(_type, _item, _filter_type) { \