Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37869349rwd; Tue, 11 Jul 2023 22:44:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlFXLHvOXrfJ3ocHgNh5TC1uDgKbh2z8kqfU7ivnW8H6jY4v9S+fr/U2Jjt/26B+GvP7+F1V X-Received: by 2002:a17:902:d2cd:b0:1b8:2ba0:c9a8 with SMTP id n13-20020a170902d2cd00b001b82ba0c9a8mr22422166plc.2.1689140663840; Tue, 11 Jul 2023 22:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689140663; cv=none; d=google.com; s=arc-20160816; b=rgF4peQVrEwEX5ftbLlTo+WGlpLbJKbCVe/3LpuaDXioFeXnrtf6CuEvi/z/iSVh3d udORvS6ClxpGFmyBINqZHKnerLsofV1TY2R/0eWhVRiLcz4/iY64LRXZcxlFV2LCrHCi lUIr96+3SUYJqUJ3ZQYcdoPYPR/TPkmPRZVb/sN9/0lrFzykBfXow7AmxGkI0JsQgR35 K0/JKnME/nXTZ2j9oCZFDn2ahtFv4bWo34Z/Dv0Sbx5rLCVdbxc5r6XGhUu2OUBsqExc CgdWLTl/41nO1RfC7jYmEiKxfGtha85uPQmKhbMxlgoEczccwdpmnoqy141ZL7JBVrTr Kf1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vWqgo9ch58QO6RaJ3RurqQJj+97McdmoLo9JFZJT7aE=; fh=zCNG1JTN8VL4n075iji+qiiL8jhwlB2eQy1QfLekTUw=; b=TZbltiqYG8cmPlYCMDpHDss1JK7Ptuyu2rv/Kzfm1Pm98d4HsJQigqT0NzzPtM8cGO WcYAPS4o6gWSb7ZTmfdDwJ6LarFu/QEGNt9ccnrzKKhT2i1Bs0eXDO91arNZcXXn5482 lY5NFJVbi8Apo4LzSV7fjpcFxXoSDnQVtjY1tMV1wsvYBGku/uYbZPJr/Cn0xqUFyL+P ndFm2B/O6bbD+xM8zrqeXQX+Wc7dFcLFo/6vzROldmk634j3znrQdo0KOeS9QDbCXRpC ufh19jH6d95TgwEg7Bh9Q/efZdf+08geKG640lUpS1eZSP/lWEJBH5cTZBL9zRkyQMkN avRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=e0PfKiB+; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p3-20020a170902e74300b001aaf5dcd774si2881043plf.173.2023.07.11.22.44.11; Tue, 11 Jul 2023 22:44:23 -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=@google.com header.s=20221208 header.b=e0PfKiB+; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229609AbjGLFDN (ORCPT + 99 others); Wed, 12 Jul 2023 01:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjGLFDM (ORCPT ); Wed, 12 Jul 2023 01:03:12 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B7810E3 for ; Tue, 11 Jul 2023 22:03:11 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-401d1d967beso124731cf.0 for ; Tue, 11 Jul 2023 22:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1689138190; x=1691730190; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vWqgo9ch58QO6RaJ3RurqQJj+97McdmoLo9JFZJT7aE=; b=e0PfKiB+KtsxPEO9lO30LmAxZK2/I2tiNU2BdBFs52hLqXtLdAoXPUQW2Uv+7jYLiT csmCMXtu3jIaFKdoqknruNgAHhrj1s/LhSn1QP5IlYJr3ukes6tiKZ8fsv9lUPdfwhkI Wxi0sPzGlZwPXzl45oNMZ74zywz3HTbL++5HecdDauU+YcXXivoGBuwh9y6AIUEPUCAL JV+NVxNqUEkg5GxYPnlNUUfiTPwhJ06yCelp6bm6WE35LOz8J9Z+AIEAeBOm+ISOaSbP foq3JXT4oTL0GIdau+v4mDf+X5abps1gsM8Nim45cWT6ZtPLM/NYpQZvoWZtCUA95BMG lC8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689138190; x=1691730190; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vWqgo9ch58QO6RaJ3RurqQJj+97McdmoLo9JFZJT7aE=; b=TaWP7cvXRUGJ0njkEpzIFfJtcVV5g+Hm1nbL0sFFfYxsbBerz+REK3WTaG+usWJwn2 mUhK/DXosj1aj+TLYnp3+3j6eqywLgbEYX//dCwqyJ7bVLO78kvAPdOhuX/dTe8qICvg NWngjtYnIMRX3a30puK0vj9tYSrofCum8u93/NEUBCXrzW2QHqpNrhcc0UumwuT1SH1R 3Feck0/J5NhNH+iNrQw573kIjNseTUb9mv1RTK9/Fi8dGzuRmSt4ka8jGIJIl1zNvv3L lqjmYwOuixLjK3BxfW+gFKiQcIP2UZzXXmQKbuN65SgJPA3/Gy7xis7RAASNyaTm0N+L RSDw== X-Gm-Message-State: ABy/qLYaOl2njXs4wZ5iD1ilVX1hgAjrbAPkqoRgE49WS/st8wpCt7HR xExwH7Ae14cfBLkZAjgjar17eJZ3k5mB6BXFDZPwdUdqEOTaLjpNHKY= X-Received: by 2002:a05:622a:1ba7:b0:403:c739:a5a3 with SMTP id bp39-20020a05622a1ba700b00403c739a5a3mr18296qtb.11.1689138190092; Tue, 11 Jul 2023 22:03:10 -0700 (PDT) MIME-Version: 1.0 References: <20230706094635.1553-1-luhongfei@vivo.com> In-Reply-To: <20230706094635.1553-1-luhongfei@vivo.com> From: Ian Rogers Date: Tue, 11 Jul 2023 22:02:58 -0700 Message-ID: Subject: Re: [PATCH] tools: perf: Two typos have been corrected To: Lu Hongfei Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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, Jul 6, 2023 at 2:46=E2=80=AFAM Lu Hongfei wrot= e: > > When wrapping code, use ';' better than using ',' which is more > in line with the coding habits of most engineers. > > Signed-off-by: Lu Hongfei Acked-by: Ian Rogers Thanks, Ian > --- > tools/perf/builtin-diff.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c > index e8a1b16aa5f8..57d300d8e570 100644 > --- a/tools/perf/builtin-diff.c > +++ b/tools/perf/builtin-diff.c > @@ -1915,8 +1915,8 @@ static int data_init(int argc, const char **argv) > struct perf_data *data =3D &d->data; > > data->path =3D use_default ? defaults[i] : argv[i]; > - data->mode =3D PERF_DATA_MODE_READ, > - data->force =3D force, > + data->mode =3D PERF_DATA_MODE_READ; > + data->force =3D force; > > d->idx =3D i; > } > -- > 2.39.0 >