summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2023-03-02 11:55:50 +0100
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-04-03 13:30:08 +0200
commite0138763be2d8bcc181c2f6110ef0f66979f1ce4 (patch)
tree58efa8f7e7bfb3b98acde9418a3796fbdb555813 /scripts/gdb/linux/utils.py
parent5b3691d15e04b6d5a32c915577b8dbc5cfb56382 (diff)
HID: logitech-hidpp: Simplify array length check
Use the compiler to force a 100-length array, rather than check the length after the fact. Signed-off-by: Bastien Nocera <hadess@hadess.net> Link: https://lore.kernel.org/r/20230302105555.51417-1-hadess@hadess.net Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions