summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@radix-linux.su:pub
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-05-05 07:59:43 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-06-12 08:39:29 +0300
commit5fcb6013dd2e2c9b4db3c5a512639371cc04d04e (patch)
tree234766490cb2f3e258a52498495058efc99f3804 /rust/zerocopy/src/pointer/git@radix-linux.su:pub
parent3d353b06d1151badda2fed7e02704f058cfbc812 (diff)
downloadlinux-5fcb6013dd2e2c9b4db3c5a512639371cc04d04e.tar.xz
Input: rmi4 - change reg_size type to u32
Change reg_size from unsigned long to u32 to save space and ensure consistent size across 32-bit and 64-bit architectures, and use DECLARE_BITMAP() for subpacket_map. Also pack the structure by rearranging the members to avoid holes, and use size_add() to prevent potential integer overflows when calculating the total size of registers. Assisted-by: Gemini:gemini-3.1-pro Link: https://patch.msgid.link/20260505045952.1570713-13-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