diff options
author | Bastien Nocera <[email protected]> | 2023-03-02 11:55:50 +0100 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2023-04-03 13:30:08 +0200 |
commit | e0138763be2d8bcc181c2f6110ef0f66979f1ce4 (patch) | |
tree | 58efa8f7e7bfb3b98acde9418a3796fbdb555813 /drivers/fpga/fpga-mgr.c | |
parent | 5b3691d15e04b6d5a32c915577b8dbc5cfb56382 (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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions