bpf: Fix typo in uapi doc comments
authorDavid Lechner <dlechner@baylibre.com>
Fri, 29 Mar 2024 15:28:46 +0000 (10:28 -0500)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 2 Apr 2024 14:04:34 +0000 (16:04 +0200)
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
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h

index 96d57e483133fd880d376f7c827095be6afc40d6..79c548276b6b331db4b41782ae1b7dd74e7809e3 100644 (file)
@@ -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)
index 96d57e483133fd880d376f7c827095be6afc40d6..79c548276b6b331db4b41782ae1b7dd74e7809e3 100644 (file)
@@ -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)