Re: spelling fix for bpf_perf_prog_read_value optval doc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops, there are in fact two other less important typos in that file.

These were found while cleaning up sysdig.

I tend to maintain individual commits for individual changes.
I expect that the eventual changes would be squashed and the commit
message reworded, I'm not attached to any of the particulars.
Individual commits makes it easier for me to drop things when people
disagree (especially when I make changes to entire modules as opposed
to individual files).
e.g. If someone wants to defend the use of the archaic British English
advertize (Gmail objected so strenuously to that word that it replaced
it here!...).

At some point, I'll send something for a module, but I'm trying to
avoid that for the time being (and hoping someone will volunteer to
help me make contribute such changes).

>From 6c7cbf37a36ef7e4cf1c8a74983840541b23c238 Mon Sep 17 00:00:00 2001
From: Josh Soref <jsoref@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 May 2020 18:09:12 -0400
Subject: [PATCH 1/3] spelling: optval

Signed-off-by: Josh Soref <jsoref@xxxxxxxxx>
---
 include/uapi/linux/bpf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index f9b7fdd951e48..f705495cbe0e3 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
@@ -1771,7 +1771,7 @@ union bpf_attr {
  * which the option resides and the name *optname* of the option
  * must be specified, see **getsockopt(2)** for more information.
  * The retrieved value is stored in the structure pointed by
- * *opval* and of length *optlen*.
+ * *optval* and of length *optlen*.
  *
  * This helper actually implements a subset of **getsockopt()**.
  * It supports the following *level*\ s:

>From e1f6f30c9038b4d1313f3b286c5e60d523afff1b Mon Sep 17 00:00:00 2001
From: Josh Soref <jsoref@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 May 2020 10:03:53 -0400
Subject: [PATCH 2/3] spelling: advertised

Signed-off-by: Josh Soref <jsoref@xxxxxxxxx>
---
 include/uapi/linux/bpf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index f705495cbe0e3..df5a0cf2ee4aa 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
@@ -3695,7 +3695,7 @@ enum {
  BPF_SOCK_OPS_TIMEOUT_INIT, /* Should return SYN-RTO value to use or
  * -1 if default value should be used
  */
- BPF_SOCK_OPS_RWND_INIT, /* Should return initial advertized
+ BPF_SOCK_OPS_RWND_INIT, /* Should return initial advertised
  * window (in packets) or -1 if default
  * value should be used
  */

>From 775ce59fb3a8e14817adb7764ffce02987a3c25a Mon Sep 17 00:00:00 2001
From: Josh Soref <jsoref@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 May 2020 10:04:51 -0400
Subject: [PATCH 3/3] spelling: verdict

Signed-off-by: Josh Soref <jsoref@xxxxxxxxx>
---
 include/uapi/linux/bpf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index df5a0cf2ee4aa..8ad84678714b4 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
@@ -2119,7 +2119,7 @@ union bpf_attr {
  * Description
  * This helper is used in programs implementing policies at the
  * skb socket level. If the sk_buff *skb* is allowed to pass (i.e.
- * if the verdeict eBPF program returns **SK_PASS**), redirect it
+ * if the verdict eBPF program returns **SK_PASS**), redirect it
  * to the socket referenced by *map* (of type
  * **BPF_MAP_TYPE_SOCKHASH**) using hash *key*. Both ingress and
  * egress interfaces can be used for redirection. The

In case of whitespace damage, please see:
https://github.com/torvalds/linux/compare/master...jsoref:spelling-bpf.patch



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux