summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-05-04 21:59:45 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-06-11 22:39:29 -0700
commitbcaea0fe87d521c044a3efc4ba3b78914072ed03 (patch)
tree34cf47f6090bfaed867ae8d30ca928eb43f4af4a /rust/kernel/alloc/kvec/errors.rs
parentf764f0f98c35766d2337cfce118731735339358b (diff)
Input: rmi4 - use flexible array member for IRQ masks in F12
Use a flexible array member to allocate the IRQ masks at the end of the f12_data structure, and use the struct_size() helper to calculate the allocation size safely. This replaces manual pointer arithmetic. Assisted-by: Gemini:gemini-3.1-pro Link: https://patch.msgid.link/20260505045952.1570713-15-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions