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 9035AA0547; Thu, 9 Sep 2021 20:11:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB9634115F; Thu, 9 Sep 2021 20:11:03 +0200 (CEST) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mails.dpdk.org (Postfix) with ESMTP id CE8C74115F for ; Thu, 9 Sep 2021 20:11:02 +0200 (CEST) Received: by mail-pg1-f179.google.com with SMTP id g184so2626828pgc.6 for ; Thu, 09 Sep 2021 11:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kwLlo54zLKTT3WDp4j88iG5+FiQzxETdwy2qTye6OGU=; b=nQecs5HDPQ1oA7+pl3vwGRpStsOiIntnsqRpV38DJ3QOGgN/iwvIyuYsZrl/Xxgc1o wk/kKI2qdRQoz5Xg3ZJIgXJpvAHKkdoVR3CQnumvwdkdwTDPS8ABiNolrorqt0xaRIaE le4SfhTrJahsg/ErTjb9rsywOVXw/ZTnBkDMM/nkyPJeFLK/GCF7pF1AeR4C7x4cI0mL 4WLLyYbeFHueNEKF5W92keRJkddf3xLdU1q9zbt3T8XI5zzEYtF0fCeegmJSM2YF/iiy 9MhhB2d/JmMbHENhEfd6DozADR01P0K/huJX3aScjieDExd/yYzAIGcJNd+smYsqSylB UHKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kwLlo54zLKTT3WDp4j88iG5+FiQzxETdwy2qTye6OGU=; b=C7md6clInZ4a+88o1Qke/gtQooiKDNlgsrgBOVp+c8u6N02U107TNO6CFzzJnnAzIw qPzqPrVTxyxJLb9ei/ZadN7kUOSxBBySnNlteIDG93jBRF/dtPcNqgiU17J4o6acsl79 98qrtUq94DQ9yI6hPTwWWlZ2afqa9ft87zU9+OS750+YsEAOrV3rbaSH032fotzoHuiv 3cAyddwQO1O41oKHtmluKJC4wGQUNGsSKKY2yvgMC6MiY8s+W1fkxAzWwUAoMcTW9HHm 0knXpgt0G5BECUWlBuN6MtdFofiVaJw2W7gPWgwQHChbQnwFEh7JLjAmRAMO0P7bDcZp jkDQ== X-Gm-Message-State: AOAM530K08ME/DpUocYtXkGkwAinBJW3955lYdv0KrZlgRNQRRam8Yas Slur5+ZOoW0FjzU9bsWIMi2khzknoskF2A== X-Google-Smtp-Source: ABdhPJzypp9moy7LzDN5ZUreYGPn+KBNXc8LiWJ/+domAg4/1P7guESooop5uimAhW34GncyCmI58w== X-Received: by 2002:a62:5297:0:b0:3f4:263a:b078 with SMTP id g145-20020a625297000000b003f4263ab078mr4076033pfb.20.1631211061673; Thu, 09 Sep 2021 11:11:01 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id v14sm2924734pja.53.2021.09.09.11.10.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 11:11:00 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 9 Sep 2021 11:10:36 -0700 Message-Id: <20210909181048.176255-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909181048.176255-1-stephen@networkplumber.org> References: <20210909175648.174258-1-stephen@networkplumber.org> <20210909181048.176255-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" Found by running codespell on the bpf implementation. Signed-off-by: Stephen Hemminger --- lib/bpf/bpf_jit_x86.c | 2 +- lib/bpf/bpf_validate.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c index aa22ea78a01d..518513376a67 100644 --- a/lib/bpf/bpf_jit_x86.c +++ b/lib/bpf/bpf_jit_x86.c @@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st) uint32_t i; int32_t spil, ofs; - /* if we allready have an epilog generate a jump to it */ + /* if we already have an epilog generate a jump to it */ if (st->exit.num++ != 0) { emit_abs_jmp(st, st->exit.off); return; 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. */ 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 * outgoing edge. */ switch (ins->code) { -- 2.30.2