Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3300287lfo; Mon, 23 May 2022 01:05:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxul5lYv1fb6pYTa8NPLh2jXGAJRk50k7n1TjKPewHZvXLezE7pdnSvQKPBNRD1X5rP32ge X-Received: by 2002:a63:85c3:0:b0:3f9:dd67:8ddd with SMTP id u186-20020a6385c3000000b003f9dd678dddmr10377330pgd.258.1653293137016; Mon, 23 May 2022 01:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653293137; cv=none; d=google.com; s=arc-20160816; b=xrHFQ3oGC97OvEyX8uGU2/gnDGXiEcYNBVJXISG0apNPLn64WL1KAoIKc470dmnpSw UTt66wnisIj95mBrnpx+R/sD9ntgjFV9DUk55X+DTCSoY/KQkKpfMbDUl8JBVm+RtxAW 5zmOU35CO3dSoKioStp6MPCr3h/m/OF53tJLWH8aetFbkCfTldHiSXPjmn9JaX2LLlX8 Lwv4cLNSGWLILaVY3YZfNeOpDp/7I9uneVGrod53w+CFQjQ1CWEMgoulJT6lf+sCx2uW Q89VIz3wv9gEpYP28tZOWjtdpusBN/eXbRHjh/cl8KZsp2Y2TMjbZh4rkCYrLbflTnjZ XbuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=byyefb+qYICK5HXkH39dhHRx9IFMTv8AdQcFgXGNpX4=; b=Ioq/SqpFGLnpD5DnmNiIPxmp84ADGaFslP6De7BrBvxOSNPnaDHu4Hs75wbJy/2XnH wyfjS8z/NtXoTayYMiwatWohRu8qvMzWYHb40KZKjb/sRp7J+sT6IAoDlu9M74eD4u5u eofi/ycwUPmdzQc/EgXEhE/Gkk8B+x8xphSnsjgIjmQEYFuxLygHACr302yNpXbtYWvw 9k1BTHnOnLMUyVh+GOeexhF1wIR4wzJ0mbNJVTiCWMy+dUT4NPOi2PsImPC4njj93oPa bAgtvSHKso9j073B6hyPFdD8gavb+KfqvOfnAKBREv5zrjVEFCrsb5AFVMJQhw0egj6q NdrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=MiRahVf8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w62-20020a638241000000b003f9eacbc7casi8739219pgd.356.2022.05.23.01.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=MiRahVf8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1315585EC9; Mon, 23 May 2022 00:10:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355645AbiEWFkf (ORCPT + 99 others); Mon, 23 May 2022 01:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231639AbiEWFkb (ORCPT ); Mon, 23 May 2022 01:40:31 -0400 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E7342124B; Sun, 22 May 2022 22:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=byyefb+qYICK5HXkH39dhHRx9IFMTv8AdQcFgXGNpX4=; b=MiRahVf8HII5RMAtCDoA5do9hpz3tFPrWzgocLmONPoYet4ApHp5eBTG 3RD6xHyssEhiRPswcHlZp/Dpz3DCMkDDwFu2oO6nkOLygFyQLdmM5aIUv zXr9qddDJQS7vpvgjjPq4TqR+RHzHb8wrR0kkRP73MUMkqo4Y0bmsM5nE M=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.91,245,1647298800"; d="scan'208";a="37556742" Received: from 245.122.68.85.rev.sfr.net (HELO hadrien) ([85.68.122.245]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 07:40:28 +0200 Date: Mon, 23 May 2022 07:40:27 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Paul Menzel cc: Julia Lawall , Jesse Brandeburg , Tony Nguyen , intel-wired-lan@lists.osuosl.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Eric Dumazet , netdev@vger.kernel.org, Jakub Kicinski , Paolo Abeni , "David S. Miller" Subject: Re: [Intel-wired-lan] [PATCH] drivers/net/ethernet/intel: fix typos in comments In-Reply-To: <71292e14-fe6c-f475-009d-1ea8cde0ea46@molgen.mpg.de> Message-ID: References: <20220521111145.81697-50-Julia.Lawall@inria.fr> <71292e14-fe6c-f475-009d-1ea8cde0ea46@molgen.mpg.de> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-969742616-1653284428=:2777" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-969742616-1653284428=:2777 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Mon, 23 May 2022, Paul Menzel wrote: > Dear Julia, > > > Thank you for your patch. > > I noticed, that the maintainer Tony wasn’t in the Cc: list. get_maintainer reports him as a "supporter", and I think that my script only takes people listed as "maintainer". > Am 21.05.22 um 13:11 schrieb Julia Lawall: > > Spelling mistakes (triple letters) in comments. > > Detected with the help of Coccinelle. > > I’d be interested in the script you used. Attached. It should have a pretty low rate of false positives. Mostly things like Eeew and Wheee. > > > > > Signed-off-by: Julia Lawall > > > > Nit: One unneeded blank line. OK, thanks. julia > > --- > > drivers/net/ethernet/intel/fm10k/fm10k_mbx.c | 2 +- > > drivers/net/ethernet/intel/ice/ice_lib.c | 2 +- > > drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 2 +- > > 3 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c > > b/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c > > index 30ca9ee1900b..f2fba6e1d0f7 100644 > > --- a/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c > > +++ b/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c > > @@ -1825,7 +1825,7 @@ static void fm10k_sm_mbx_process_error(struct > > fm10k_mbx_info *mbx) > > fm10k_sm_mbx_connect_reset(mbx); > > break; > > case FM10K_STATE_CONNECT: > > - /* try connnecting at lower version */ > > + /* try connecting at lower version */ > > if (mbx->remote) { > > while (mbx->local > 1) > > mbx->local--; > > diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c > > b/drivers/net/ethernet/intel/ice/ice_lib.c > > index 454e01ae09b9..70961c0343e7 100644 > > --- a/drivers/net/ethernet/intel/ice/ice_lib.c > > +++ b/drivers/net/ethernet/intel/ice/ice_lib.c > > @@ -2403,7 +2403,7 @@ static void ice_set_agg_vsi(struct ice_vsi *vsi) > > agg_id); > > return; > > } > > - /* aggregator node is created, store the neeeded info */ > > + /* aggregator node is created, store the needed info */ > > agg_node->valid = true; > > agg_node->agg_id = agg_id; > > } > > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c > > b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c > > index 3e74ab82868b..3f5ef5269bb2 100644 > > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c > > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c > > @@ -77,7 +77,7 @@ static int __ixgbe_enable_sriov(struct ixgbe_adapter > > *adapter, > > IXGBE_WRITE_REG(hw, IXGBE_PFDTXGSWC, IXGBE_PFDTXGSWC_VT_LBEN); > > adapter->bridge_mode = BRIDGE_MODE_VEB; > > - /* limit trafffic classes based on VFs enabled */ > > + /* limit traffic classes based on VFs enabled */ > > if ((adapter->hw.mac.type == ixgbe_mac_82599EB) && (num_vfs < 16)) { > > adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; > > adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; > > Reviewed-by: Paul Menzel > > > Kind regards, > > Paul > --8323329-969742616-1653284428=:2777 Content-Type: text/plain; charset=US-ASCII; name=threespell.cocci Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=threespell.cocci I3NwYXRjaCAtaiA0NCAtLW5vL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