diff options
author | Kees Cook <[email protected]> | 2021-05-20 19:56:15 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2021-09-25 08:20:48 -0700 |
commit | 69dae0fe1073944065fff0f7fe24cde6e150ee9d (patch) | |
tree | e8a039a46b42c3e71befea74608a7197a805ac71 /tools/perf/scripts/python/compaction-times.py | |
parent | 5e423a0c2db6d02811e67704d1bcb0b412b98406 (diff) |
HID: roccat: Use struct_group() to zero kone_mouse_event
In preparation for FORTIFY_SOURCE performing compile-time and run-time
field bounds checking for memset(), avoid intentionally writing across
neighboring fields.
Add struct_group() to mark region of struct kone_mouse_event that should
be initialized to zero.
Cc: Stefan Achatz <[email protected]>
Cc: Benjamin Tissoires <[email protected]>
Cc: [email protected]
Acked-by: Jiri Kosina <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions