In a few places in the bpf uapi headers, EOPNOTSUPP is missing a "P" in the doc comments. This adds the missing "P".
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -5026,7 +5026,7 @@ union bpf_attr { · 5025 unmodified lines | ||
| 5026 | 5026 | * bytes will be copied to *dst* |
| 5027 | 5027 | * Return |
| 5028 | 5028 | * 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 | |
| 5030 | 5030 | * invalid arguments are passed. |
| 5031 | 5031 | * |
| 5032 | 5032 | * struct socket *bpf_sock_from_file(struct file *file) |
| @@ -5512,7 +5512,7 @@ union bpf_attr { · 479 unmodified lines | ||
| 5512 | 5512 | * bytes will be copied to *dst* |
| 5513 | 5513 | * Return |
| 5514 | 5514 | * 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 | |
| 5516 | 5516 | * invalid arguments are passed. |
| 5517 | 5517 | * |
| 5518 | 5518 | * void *bpf_kptr_xchg(void *map_value, void *ptr) |