aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-06-18 11:11:58 +0200
committerJiri Kosina <[email protected]>2023-08-14 11:21:22 +0200
commit574d06ceb88fb735a7d88c22e6531f4849aada51 (patch)
tree190ee3a54dda1a726b12a76e54e8175c8f12ff4b /lib/test_fortify/write_overflow-strncpy-src.c
parent276e14e6c3993317257e1787e93b7166fbc30905 (diff)
HID: Reorder fields in 'struct hid_input'
Group some variables based on their sizes to reduce hole and avoid padding. On x86_64, this shrinks the size of 'struct hid_input' from 72 to 64 bytes. It saves a few bytes of memory and is more cache-line friendly. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions