From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9F64AA0547; Thu, 9 Sep 2021 23:51:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 281D44067E; Thu, 9 Sep 2021 23:51:55 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id 526204003E for ; Thu, 9 Sep 2021 23:51:53 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id x7so2951367pfa.8 for ; Thu, 09 Sep 2021 14:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+yObR185ApiwbMzWH4m8pt61QcTsUYnTp6ounz43z08=; b=i76dwwCv+95+H8iZrRC8ZD2Y/F9GZAk/kIMhDLBQJwGeK/gyNibM7PuOiaslSXAWxB HXpsMPFGgrd0l6MYjdwU1JHQkEUZ0wAJwmab/BJKFjueNWxrFswCeQPL5DyyimM8kUxL a+vN6YbWLSZ8eiEdI0x9Q5Po8xCHflp4HDooVFUxhLG5TmbIH2X+17jooJTkTpSKRhiH 8xNsmk2K/XMp6uZsfQWxEip9s49mvfJGITI0ltncfgsN9VCx5Bc+U0sI12PCJmkeFJZR fLV+rTCxYrmiJ/+S2taTXxEER41lXew4W2cN/I8PNoKU+te/vQhCQXec6s/c9Yj63D+b UM8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+yObR185ApiwbMzWH4m8pt61QcTsUYnTp6ounz43z08=; b=CwFXWhCa30dWmrLr5ajqxWCLznqT+2IkxagmixuAPArWTeOzp57X4/kCTaYUKbJPSf F8V4BvihRh6kU8oY6mJKdCNsIW12KZxJYcZ9GcKUntUONMXqDaID95m+qjGb/g9WDG8T 3UIqv7c3qijDnkXY3VH4cKaicvwe7BrEvwJ4nk67B5FR/4JOFNXqcZit4ry3KpOueFrc mMkW9y+86cuXVAE4P04zIie+IsF1Zhf5AiELWfYCv9ZFlbXZMdp8yJFPgnwVjSc9dtSu JqrBJidrHG0BupxH2kuNRoPuqm7Q6XGHNkuew6JGqv1GFRfuXIpoQ3rsoZR2z7z7N7Nw 9+Aw== X-Gm-Message-State: AOAM5307dYLpeEDcR3QCSKZ5DKobyI2FKuAIAVxfGmPvloZkmQ2V9iwi 7xVHlAw/9rd6BMMqkh7I3C2/FQ== X-Google-Smtp-Source: ABdhPJx9LnKPOGevSz4hQ+NkUQg01D8/j5657ukluxfFdJSV4h0cq6kSuk6llyhczLXBAClNzHLjfw== X-Received: by 2002:a63:e510:: with SMTP id r16mr4567133pgh.34.1631224312403; Thu, 09 Sep 2021 14:51:52 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id a20sm3050772pjh.46.2021.09.09.14.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 14:51:52 -0700 (PDT) Date: Thu, 9 Sep 2021 14:51:49 -0700 From: Stephen Hemminger To: Dmitry Kozlyuk Cc: dev@dpdk.org Message-ID: <20210909145149.0701bf22@hermes.local> In-Reply-To: <20210909224956.200eba82@sovereign> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210909181048.176255-1-stephen@networkplumber.org> <20210909181048.176255-7-stephen@networkplumber.org> <20210909224956.200eba82@sovereign> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 9 Sep 2021 22:49:56 +0300 Dmitry Kozlyuk wrote: > 2021-09-09 11:10 (UTC-0700), Stephen Hemminger: > [...] > > diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c > > index 7b1291b382e9..3e7d3d730637 100644 > > --- a/lib/bpf/bpf_validate.c > > +++ b/lib/bpf/bpf_validate.c > > @@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = { > > > > /* > > * make sure that instruction syntax is valid, > > - * and it fields don't violate partciular instrcution type restrictions. > > + * and it fields don't violate particular instruction type restrictions. > > Also "it" -> "its". > > > */ > > static const char * > > check_syntax(const struct ebpf_insn *ins) > > @@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf) > > > > /* > > * construct CFG, jcc nodes have to outgoing edges, > > - * 'exit' nodes - none, all others nodes have exaclty one > > + * 'exit' nodes - none, all others nodes have exactly one > > Also "others" -> "other". > > > * outgoing edge. > > */ > > switch (ins->code) { > Good catch, codespell and others don't check grammar.