linux/include
Thomas Weißschuh fe73965d07 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 <linux@weissschuh.net>
Link: https://patch.msgid.link/20240803-hid-const-fixup-v2-6-f53d7a7b29d8@weissschuh.net
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
2024-08-27 16:29:55 +02:00
..
acpi ACPICA: Add a depth argument to acpi_execute_reg_methods() 2024-08-13 13:44:57 +02:00
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux HID: change return type of report_fixup() to const 2024-08-27 16:29:55 +02:00
math-emu
media
memory
misc
net vsock: fix recursive ->recvmsg calls 2024-08-15 12:07:04 +02:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace vfs-6.11-rc4.fixes 2024-08-14 09:06:28 -07:00
uapi Char/Misc fixes for 6.11-rc4 2024-08-18 10:16:34 -07:00
ufs
vdso
video
xen