Re: [PATCH][next] selftests/bpf: Fix spelling mistake "{GET|SET}SOCKOP" -> "{GET|SET}SOCKOPT"

From: Andrii Nakryiko
Date: Tue May 07 2024 - 16:20:18 EST


On Wed, May 1, 2024 at 4:21 AM Colin Ian King <colin.i.king@xxxxxxxxx> wrote:
>
> There are two spelling mistakes in .descr literal strings. Fix them.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> ---
> tools/testing/selftests/bpf/prog_tests/sockopt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

This doesn't apply cleanly onto bpf-next/master, unfortunately. Can
you please rebase and resend?

pw-bot: cr


> diff --git a/tools/testing/selftests/bpf/prog_tests/sockopt.c b/tools/testing/selftests/bpf/prog_tests/sockopt.c
> index eaac83a7f388..ecf5a7a047a4 100644
> --- a/tools/testing/selftests/bpf/prog_tests/sockopt.c
> +++ b/tools/testing/selftests/bpf/prog_tests/sockopt.c
> @@ -933,7 +933,7 @@ static struct sockopt_test {
> /* ==================== prog_type ==================== */
>
> {
> - .descr = "can attach only BPF_CGROUP_SETSOCKOP",
> + .descr = "can attach only BPF_CGROUP_SETSOCKOPT",
> .insns = {
> /* return 1 */
> BPF_MOV64_IMM(BPF_REG_0, 1),
> @@ -947,7 +947,7 @@ static struct sockopt_test {
> },
>
> {
> - .descr = "can attach only BPF_CGROUP_GETSOCKOP",
> + .descr = "can attach only BPF_CGROUP_GETSOCKOPT",
> .insns = {
> /* return 1 */
> BPF_MOV64_IMM(BPF_REG_0, 1),
> --
> 2.39.2
>