]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: constify parameter rdesc of hid_parse_report()
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 3 Aug 2024 12:34:18 +0000 (14:34 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Tue, 27 Aug 2024 14:18:51 +0000 (16:18 +0200)
commit6737769ca0b6bfc82df53db5fd69068902d608db
treee62f39b6aea071f0b204b6205a7a3f90c52fee7a
parenta707f85d47cad3978bef8fe90c7a79e3998e9d36
HID: constify parameter rdesc of hid_parse_report()

The parameter is never modified, so mark it as const.

This is a prerequisite for constification changes in the HID core.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20240803-hid-const-fixup-v2-2-f53d7a7b29d8@weissschuh.net
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/hid-core.c
include/linux/hid.h