Searched hist:"91 a7f802d1852f60139712bdcfa98db547ce0531" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | hid_bpf.h | diff 91a7f802d1852f60139712bdcfa98db547ce0531 Thu Nov 03 10:57:49 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: bpf: introduce hid_hw_request()
This function can not be called under IRQ, thus it is only available while in SEC("syscall"). For consistency, this function requires a HID-BPF context to work with, and so we also provide a helper to create one based on the HID unique ID.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
--
changes in v12: - variable dereferenced before check 'ctx' |Reported-by: kernel test robot <lkp@intel.com> |Reported-by: Dan Carpenter <error27@gmail.com>
no changes in v11
no changes in v10
changes in v9: - fixed kfunc declaration aaccording to latest upstream changes
no changes in v8
changes in v7: - hid_bpf_allocate_context: remove unused variable - ensures buf is not NULL
changes in v6: - rename parameter size into buf__sz to teach the verifier about the actual buffer size used by the call - remove the allocated data in the user created context, it's not used
new-ish in v5 Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
/openbmc/linux/drivers/hid/bpf/ |
H A D | hid_bpf_dispatch.c | diff 91a7f802d1852f60139712bdcfa98db547ce0531 Thu Nov 03 10:57:49 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: bpf: introduce hid_hw_request()
This function can not be called under IRQ, thus it is only available while in SEC("syscall"). For consistency, this function requires a HID-BPF context to work with, and so we also provide a helper to create one based on the HID unique ID.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
--
changes in v12: - variable dereferenced before check 'ctx' |Reported-by: kernel test robot <lkp@intel.com> |Reported-by: Dan Carpenter <error27@gmail.com>
no changes in v11
no changes in v10
changes in v9: - fixed kfunc declaration aaccording to latest upstream changes
no changes in v8
changes in v7: - hid_bpf_allocate_context: remove unused variable - ensures buf is not NULL
changes in v6: - rename parameter size into buf__sz to teach the verifier about the actual buffer size used by the call - remove the allocated data in the user created context, it's not used
new-ish in v5 Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
/openbmc/linux/drivers/hid/ |
H A D | hid-core.c | diff 91a7f802d1852f60139712bdcfa98db547ce0531 Thu Nov 03 10:57:49 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: bpf: introduce hid_hw_request()
This function can not be called under IRQ, thus it is only available while in SEC("syscall"). For consistency, this function requires a HID-BPF context to work with, and so we also provide a helper to create one based on the HID unique ID.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
--
changes in v12: - variable dereferenced before check 'ctx' |Reported-by: kernel test robot <lkp@intel.com> |Reported-by: Dan Carpenter <error27@gmail.com>
no changes in v11
no changes in v10
changes in v9: - fixed kfunc declaration aaccording to latest upstream changes
no changes in v8
changes in v7: - hid_bpf_allocate_context: remove unused variable - ensures buf is not NULL
changes in v6: - rename parameter size into buf__sz to teach the verifier about the actual buffer size used by the call - remove the allocated data in the user created context, it's not used
new-ish in v5 Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|