summaryrefslogtreecommitdiffstats
path: root/samples/landlock
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-20 08:38:48 +0100
committerJiri Kosina <jkosina@suse.com>2024-01-02 11:25:28 +0100
commit9b0a3839e8d29663cd9ee2c43d38b06c3b91619e (patch)
treeee9eff7ed1ea9cf1e98084619f9081bd3175d8c4 /samples/landlock
parentHID: make ishtp_cl_bus_type const (diff)
downloadlinux-9b0a3839e8d29663cd9ee2c43d38b06c3b91619e.tar.xz
linux-9b0a3839e8d29663cd9ee2c43d38b06c3b91619e.zip
HID: bpf: make bus_type const in struct hid_bpf_ops
The struct bus_type pointer in hid_bpf_ops just passes the pointer to the driver core, and the driver core can handle, and expects, a constant pointer, so also make the pointer constant in hid_bpf_ops. Part of the process of moving all usages of struct bus_type to be constant to move them all to read-only memory. Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'samples/landlock')
0 files changed, 0 insertions, 0 deletions