History

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".

David Lechner committed 2 years ago

Commit ca4ddc21 parent a70f5d82 files · +4 −4Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/bpf.h+2−2
@@ -5026,7 +5026,7 @@ union bpf_attr { · 5025 unmodified lines
50265026 * bytes will be copied to *dst*
50275027 * Return
50285028 * The **hash_algo** is returned on success,
5029− * **-EOPNOTSUP** if IMA is disabled or **-EINVAL** if
5029+ * **-EOPNOTSUPP** if IMA is disabled or **-EINVAL** if
50305030 * invalid arguments are passed.
50315031 *
50325032 * struct socket *bpf_sock_from_file(struct file *file)
@@ -5512,7 +5512,7 @@ union bpf_attr { · 479 unmodified lines
55125512 * bytes will be copied to *dst*
55135513 * Return
55145514 * The **hash_algo** is returned on success,
5515− * **-EOPNOTSUP** if the hash calculation failed or **-EINVAL** if
5515+ * **-EOPNOTSUPP** if the hash calculation failed or **-EINVAL** if
55165516 * invalid arguments are passed.
55175517 *
55185518 * void *bpf_kptr_xchg(void *map_value, void *ptr)