From 0d21c24ac3f2fca1838030c6d394684a3fdbfe26 Mon Sep 17 00:00:00 2001 From: Dylan Reimerink Date: Mon, 16 Dec 2024 23:09:07 +0100 Subject: [PATCH] kfuncs: Fix bad link to `BPF_PROG_TYPE_SYSCALL` These pages contained links to a non-existent page `BPF_PROG_SYSCALL`, instead of the correct `BPF_PROG_TYPE_SYSCALL`. Signed-off-by: Dylan Reimerink --- docs/linux/kfuncs/hid_bpf_allocate_context.md | 2 +- docs/linux/kfuncs/hid_bpf_hw_output_report.md | 2 +- docs/linux/kfuncs/hid_bpf_hw_request.md | 2 +- docs/linux/kfuncs/hid_bpf_input_report.md | 2 +- docs/linux/kfuncs/hid_bpf_release_context.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/linux/kfuncs/hid_bpf_allocate_context.md b/docs/linux/kfuncs/hid_bpf_allocate_context.md index c948e51..d287679 100644 --- a/docs/linux/kfuncs/hid_bpf_allocate_context.md +++ b/docs/linux/kfuncs/hid_bpf_allocate_context.md @@ -34,7 +34,7 @@ A pointer to &struct hid_bpf_ctx on success, `NULL` on error. !!! note This function may sleep, and therefore can only be used from [sleepable programs](../syscall/BPF_PROG_LOAD.md/#bpf_f_sleepable). - This is only true when not used from [`BPF_PROG_SYSCALL`](../program-type/BPF_PROG_SYSCALL.md) programs. + This is only true when not used from [`BPF_PROG_TYPE_SYSCALL`](../program-type/BPF_PROG_TYPE_SYSCALL.md) programs. ## Usage diff --git a/docs/linux/kfuncs/hid_bpf_hw_output_report.md b/docs/linux/kfuncs/hid_bpf_hw_output_report.md index 7610375..d845425 100644 --- a/docs/linux/kfuncs/hid_bpf_hw_output_report.md +++ b/docs/linux/kfuncs/hid_bpf_hw_output_report.md @@ -28,7 +28,7 @@ Returns the number of bytes transferred on success, a negative error code otherw !!! note This function may sleep, and therefore can only be used from [sleepable programs](../syscall/BPF_PROG_LOAD.md/#bpf_f_sleepable). - This is only true when not used from [`BPF_PROG_SYSCALL`](../program-type/BPF_PROG_SYSCALL.md) programs. + This is only true when not used from [`BPF_PROG_TYPE_SYSCALL`](../program-type/BPF_PROG_TYPE_SYSCALL.md) programs. ## Usage diff --git a/docs/linux/kfuncs/hid_bpf_hw_request.md b/docs/linux/kfuncs/hid_bpf_hw_request.md index 388881d..a2724c3 100644 --- a/docs/linux/kfuncs/hid_bpf_hw_request.md +++ b/docs/linux/kfuncs/hid_bpf_hw_request.md @@ -32,7 +32,7 @@ Communicate with a HID device !!! note This function may sleep, and therefore can only be used from [sleepable programs](../syscall/BPF_PROG_LOAD.md/#bpf_f_sleepable). - This is only true when not used from [`BPF_PROG_SYSCALL`](../program-type/BPF_PROG_SYSCALL.md) programs. + This is only true when not used from [`BPF_PROG_TYPE_SYSCALL`](../program-type/BPF_PROG_TYPE_SYSCALL.md) programs. ## Usage diff --git a/docs/linux/kfuncs/hid_bpf_input_report.md b/docs/linux/kfuncs/hid_bpf_input_report.md index e6df48e..a648062 100644 --- a/docs/linux/kfuncs/hid_bpf_input_report.md +++ b/docs/linux/kfuncs/hid_bpf_input_report.md @@ -31,7 +31,7 @@ Returns `0` on success, a negative error code otherwise. This function will wait !!! note This function may sleep, and therefore can only be used from [sleepable programs](../syscall/BPF_PROG_LOAD.md/#bpf_f_sleepable). - This is only true when not used from [`BPF_PROG_SYSCALL`](../program-type/BPF_PROG_SYSCALL.md) programs. + This is only true when not used from [`BPF_PROG_TYPE_SYSCALL`](../program-type/BPF_PROG_TYPE_SYSCALL.md) programs. ## Usage diff --git a/docs/linux/kfuncs/hid_bpf_release_context.md b/docs/linux/kfuncs/hid_bpf_release_context.md index de1fe86..42f4ede 100644 --- a/docs/linux/kfuncs/hid_bpf_release_context.md +++ b/docs/linux/kfuncs/hid_bpf_release_context.md @@ -22,7 +22,7 @@ Release the previously allocated context @ctx !!! note This function may sleep, and therefore can only be used from [sleepable programs](../syscall/BPF_PROG_LOAD.md/#bpf_f_sleepable). - This is only true when not used from [`BPF_PROG_SYSCALL`](../program-type/BPF_PROG_SYSCALL.md) programs. + This is only true when not used from [`BPF_PROG_TYPE_SYSCALL`](../program-type/BPF_PROG_TYPE_SYSCALL.md) programs. ## Usage