diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-04 19:39:57 -0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 15:38:55 -0800 |
commit | a1fb1c77950fbe47eb4a8f5be303bea4ee753b93 (patch) | |
tree | 16636e57694bedd71db7a1b3f69355a77bbcb22b /Documentation/security/sak.rst | |
parent | 2e3fc6ca521499a985a1829a21759ac25359c0f3 (diff) | |
download | linux-stable-a1fb1c77950fbe47eb4a8f5be303bea4ee753b93.tar.gz linux-stable-a1fb1c77950fbe47eb4a8f5be303bea4ee753b93.tar.bz2 linux-stable-a1fb1c77950fbe47eb4a8f5be303bea4ee753b93.zip |
const_structs.checkpatch: add bus_type
Since commit d492cc2573a0 ("driver core: device.h: make struct bus_type a
const *"), the driver core can properly handle constant struct bus_type.
Make sure that new usages of the struct already enter the tree as const.
Link: https://lkml.kernel.org/r/20240204-bus_cleanup-checkpatch-v1-1-8d51dcecda20@marliere.net
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Suggested-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/security/sak.rst')
0 files changed, 0 insertions, 0 deletions