summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-03-29 10:28:46 -0500
committerDaniel Borkmann <daniel@iogearbox.net>2024-04-02 16:04:34 +0200
commitca4ddc26f8acaa9cb451fcb20f7ab0f02e4970cb (patch)
tree0dbbbebbd2e666ccda3a868dc15c52d3e70282a7 /tools/include
parenta70f5d840a56a82c576385ca79ee55c1598f1bc3 (diff)
downloadlinux-ca4ddc26f8acaa9cb451fcb20f7ab0f02e4970cb.tar.gz
linux-ca4ddc26f8acaa9cb451fcb20f7ab0f02e4970cb.tar.bz2
linux-ca4ddc26f8acaa9cb451fcb20f7ab0f02e4970cb.zip
bpf: Fix typo in uapi doc comments
In a few places in the bpf uapi headers, EOPNOTSUPP is missing a "P" in the doc comments. This adds the missing "P". Signed-off-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20240329152900.398260-2-dlechner@baylibre.com
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/bpf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 96d57e483133..79c548276b6b 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -5026,7 +5026,7 @@ union bpf_attr {
* bytes will be copied to *dst*
* Return
* The **hash_algo** is returned on success,
- * **-EOPNOTSUP** if IMA is disabled or **-EINVAL** if
+ * **-EOPNOTSUPP** if IMA is disabled or **-EINVAL** if
* invalid arguments are passed.
*
* struct socket *bpf_sock_from_file(struct file *file)
@@ -5512,7 +5512,7 @@ union bpf_attr {
* bytes will be copied to *dst*
* Return
* The **hash_algo** is returned on success,
- * **-EOPNOTSUP** if the hash calculation failed or **-EINVAL** if
+ * **-EOPNOTSUPP** if the hash calculation failed or **-EINVAL** if
* invalid arguments are passed.
*
* void *bpf_kptr_xchg(void *map_value, void *ptr)