diff options
author | 2024-08-03 14:34:17 +0200 | |
---|---|---|
committer | 2024-08-27 16:18:51 +0200 | |
commit | a707f85d47cad3978bef8fe90c7a79e3998e9d36 (patch) | |
tree | ad444a626d5dbd28025a3e6758ed54fab147d42d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'hid-for-linus-2024081901' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | wireguard-linux-a707f85d47cad3978bef8fe90c7a79e3998e9d36.tar.xz wireguard-linux-a707f85d47cad3978bef8fe90c7a79e3998e9d36.zip |
HID: bpf: constify parameter rdesc of call_hid_bpf_rdesc_fixup()
The parameter is never modified, so mark it as const.
Also inline the return statement to avoid a type mismatch error.
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-1-f53d7a7b29d8@weissschuh.net
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions