From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC9E32ECE91 for ; Mon, 7 Sep 2026 04:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788756725; cv=none; b=PcwDljJLI9AIdeqjZS+TfBB6YaRdBX5h7iz7uvhhrhcXFfhxw3QqzjlrdWF12MkMla3/Qwgn/PJdnbFoUbUSnqjulLmgT10ukiRen0ZwyYd3+Ly3H1WGuQPdqXMtOkXydWWT+eC+jQNeoskGiZkK/5sLL4JyyIvj1NxBrzY6uwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788756725; c=relaxed/simple; bh=o+i201PWKQhnh0LFP97eF7E1wnhN9oEPKnfB2knTOSM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hIdiVY+Pmh+p96toi6Gw+WRsxoGLUZY/E7VRUH1hjD5Fde2xihGfftMFVo31WeMv+5c+6XL7C8OIpyUd2XKzQyLScR3kBuETNxPV1lofajG++266tiCOljpiscLYMBY+U7sR4MiUPW3FdFSKdk/fxg7bv09C8kmLZdw2vtlqOu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fjYGNuHp; arc=none smtp.client-ip=209.85.215.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fjYGNuHp" Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-cc1cc97b84bso2317044a12.1 for ; Sun, 06 Sep 2026 21:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788756723; x=1789361523; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lk88M/pDZxe/5FAVj+dp68PIWOvqnCOJ0AD0p9smdgE=; b=fjYGNuHpkPlvyaOD9PVD685AcyPxbS9VVUIIzwb303/cC5yqyTCQFtk2m3//X0GeeL dFmSg4HMYoYSUSAJqCpYU9ed3rACAcEyLmY/E0BFfpnY0Ztlm2W09wvqsNNhbOs2ulrU vKewDyPuQDr9XuDGbCqfqhU6xG9MdVoVSOW/VzrVWCps4EqO19XiUYouRvAaC1Iza3Zv CGnTD4T9Q/eu68huaywUBrSwIhTwZr4zsqIb+4QIQt0DTJZFTJBWLwB0lPPa8p/iruaV H9pzNGI4jVt0XHyRs2U9Hl5eT/fL6KO7f9snYpkz33uHZBXqXSzmXpg+RHQ+hTP0mnwA wutg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788756723; x=1789361523; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=lk88M/pDZxe/5FAVj+dp68PIWOvqnCOJ0AD0p9smdgE=; b=owfcEKvjgHb38PQrYjPV66QccIFYZeyn26vUFv5XtEannGVR9CvOnMNSwOBuz8JVww FdvKziXoL28eOmfTGy/HRoA+oXe13jTgmRGVzzr5P2rpUiyd3otD1ykyU0tj/Ap2dAIL U1ZOacmI/3KMwdpjqu/dqDZVkhKCNQErjR2yZ0h3Ug4E9VhpvoOK4za4MIYMPMQZ+xUl HvvYF6O5eKWksYUf9xiKtXDQ61gGUiX+s7pAarQA4xaUxgohZTHTgZ2saU/PbdjjARoa OxWVcphMjTZMccAK+aL8HUoYzjCoBUmhYq6GPyJPMuJ4Hcq3H28kov+5OdTf1LMw31ld lLvQ== X-Forwarded-Encrypted: i=1; AKwUvBzDq7NZpiXUdqzoK/+OWjU76fDubxAFNXWNAOTx5bkm20YIhVaJaMWmQa5Ll0WVDLd+7CD988jZvz4sIlM=@vger.kernel.org X-Gm-Message-State: AFuF++lD7I29NQjIXfWhanTXOnJOrPHXQXqW8/hxtolRP9y8ewNHCLCY 30p44ATtwxYywZbi5X3L3jqUztB8/bL3TcXArpTqsEb3BtF1v30EETjj X-Gm-Gg: AYBFou0O6Ky91AvG50mQb3vMfk9SLfX6azewjl1gXe3jlcr2gpcVTfqSufYPDl01fOR W28/OKdcrohopx/s4kemVzJnWnmmMrdlY7v0yVt6AP+g2F4fCijBihoKRm7MGtH9DjtKhO6Z2ps PinWUVqWKZWwAwo2skvJ81xwmq8p8rHT/52UGi3uIbpgdIFvEXpGLZeKIP4HZPhMTRXqg68WkjC B0/v8bO51XKWTrNL0MdIMuylkXOK0AkDDhX4EPxZ5O7U559ANVqwcapCqdWEjBbUZdNOGq11Yap NJ7y9br2VpSnsmO3D3d54ROSTq/rvss8KpSdkoazZEYFa4r801YO6iNp4lwCFjeeeE9qroelpZw yd/Cbkv2xkuwdP3BsahybPAbrU/Zb/exB38z1+GtNZkdi+1Um3fmaGy9ArlJrw7708+jo555+XK 1zioagp35xFYkEXrF7bD3RQS3MePQ2DOFWo/DViRg4r8FNNvQZ2O/kQlIFdisfB3LLI0O5TdRcc NMbl6dTt+2twQ== X-Received: by 2002:a17:90b:33c9:b0:398:c16e:69d3 with SMTP id 98e67ed59e1d1-39b26122fbamr28838386a91.1.1788756723030; Sun, 06 Sep 2026 21:52:03 -0700 (PDT) Received: from volcano9f6e-hostos.amd.com ([165.204.217.251]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-14324410092sm21979675c88.14.2026.09.06.21.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2026 21:52:02 -0700 (PDT) From: Hemanth Selam To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Eduard Zingerman , Kumar Kartikeya Dwivedi , Martin KaFai Lau , Song Liu , Yonghong Song , Jiri Olsa , Emil Tsalapatis , Ihor Solodrai , Russell King , Puranjay Mohan , John Fastabend , Hari Bathini , Christophe Leroy , Naveen N Rao , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Shuah Khan , "David S . Miller" , Andreas Larsson Cc: bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kselftest@vger.kernel.org, sparclinux@vger.kernel.org Subject: [PATCH v2 2/7] bpf: fix typos in comments Date: Mon, 7 Sep 2026 10:21:30 +0530 Message-ID: <20260907045135.13317-3-hemanth.selam@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20260907045135.13317-1-hemanth.selam@gmail.com> References: <20260907045135.13317-1-hemanth.selam@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes. Assisted-by: Cursor:claude-opus-5 Signed-off-by: Hemanth Selam --- include/linux/filter.h | 4 ++-- kernel/bpf/reuseport_array.c | 2 +- kernel/bpf/stream.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/filter.h b/include/linux/filter.h index 4a9bc6a848f2..0a067c2e923d 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -147,7 +147,7 @@ struct ctl_table_header; #define BPF_ALU32_IMM(OP, DST, IMM) \ BPF_ALU32_IMM_OFF(OP, DST, IMM, 0) -/* Endianess conversion, cpu_to_{l,b}e(), {l,b}e_to_cpu() */ +/* Endianness conversion, cpu_to_{l,b}e(), {l,b}e_to_cpu() */ #define BPF_ENDIAN(TYPE, DST, LEN) \ ((struct bpf_insn) { \ @@ -1029,7 +1029,7 @@ static inline u8 *bpf_skb_cb(const struct sk_buff *skb) * * In some socket filter cases, the cb unfortunately needs to be * saved/restored so that protocol specific skb->cb[] data won't - * be lost. In any case, due to unpriviledged eBPF programs + * be lost. In any case, due to unprivileged eBPF programs * attached to sockets, we need to clear the bpf_skb_cb() area * to not leak previous contents to user space. */ diff --git a/kernel/bpf/reuseport_array.c b/kernel/bpf/reuseport_array.c index 49b8e5a0c6b4..4de08abfd94e 100644 --- a/kernel/bpf/reuseport_array.c +++ b/kernel/bpf/reuseport_array.c @@ -207,7 +207,7 @@ reuseport_array_update_check(const struct reuseport_array *array, return -ENOTSUPP; /* - * sk must be hashed (i.e. listening in the TCP case or binded + * sk must be hashed (i.e. listening in the TCP case or bound * in the UDP case) and * it must also be a SO_REUSEPORT sk (i.e. reuse cannot be NULL). * diff --git a/kernel/bpf/stream.c b/kernel/bpf/stream.c index be9ce98e9469..54f5be1289d2 100644 --- a/kernel/bpf/stream.c +++ b/kernel/bpf/stream.c @@ -24,7 +24,7 @@ static struct bpf_stream_elem *bpf_stream_elem_alloc(int len) /* * Length denotes the amount of data to be written as part of stream element, * thus includes '\0' byte. We're capped by how much bpf_bprintf_buffers can - * accomodate, therefore deny allocations that won't fit into them. + * accommodate, therefore deny allocations that won't fit into them. */ if (len < 0 || len > max_len) return NULL;