diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-05-05 07:59:45 +0300 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-06-12 08:39:29 +0300 |
| commit | bcaea0fe87d521c044a3efc4ba3b78914072ed03 (patch) | |
| tree | 34cf47f6090bfaed867ae8d30ca928eb43f4af4a /rust/zerocopy/src/pointer/git@radix-linux.su:pub | |
| parent | f764f0f98c35766d2337cfce118731735339358b (diff) | |
| download | linux-bcaea0fe87d521c044a3efc4ba3b78914072ed03.tar.xz | |
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/zerocopy/src/pointer/git@radix-linux.su:pub')
0 files changed, 0 insertions, 0 deletions
