diff options
| author | Benjamin Tissoires <[email protected]> | 2024-07-23 16:21:53 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <[email protected]> | 2024-07-24 16:27:21 +0000 |
| commit | acd34cfc48b3dd46e5e4c4bdc99cc0c15568bac0 (patch) | |
| tree | 849436a46a6031b01a8d3c212240e77e0010477e /scripts/generate_rust_target.rs | |
| parent | selftests/hid: disable struct_ops auto-attach (diff) | |
| download | kernel-acd34cfc48b3dd46e5e4c4bdc99cc0c15568bac0.tar.gz kernel-acd34cfc48b3dd46e5e4c4bdc99cc0c15568bac0.zip | |
HID: bpf: prevent the same struct_ops to be attached more than once
If the struct_ops is already attached, we should bail out or we will
end up in various locks and pointer issues while unregistering.
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
