diff options
author | Thomas Weißschuh <[email protected]> | 2024-08-03 14:34:22 +0200 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2024-08-27 16:29:55 +0200 |
commit | fe73965d078670406acee0218f118c0870d6a58b (patch) | |
tree | b343efa1c3955abb57b534b7c320780fac3c9c8c /scripts/gdb/linux/interrupts.py | |
parent | 3593630c89d7d3963c42262694f8aa8b4727a0ad (diff) |
HID: change return type of report_fixup() to const
By allowing the drivers to return a "const *" they can constify their
static report arrays.
This makes it clear to driver authors that the HID core will not modify
those reports and they can be reused for multiple devices.
Furthermore security is slightly improved as those reports are protected
against accidental or malicious modifications.
[bentiss: fixup hid-cougar.c and hid-multitouch.c for latest version of
the master branch]
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions