The patch titled Subject: const_structs.checkpatch: add bus_type has been added to the -mm mm-nonmm-unstable branch. Its filename is const_structscheckpatch-add-bus_type.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/const_structscheckpatch-add-bus_type.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: "Ricardo B. Marliere" <ricardo@xxxxxxxxxxxx> Subject: const_structs.checkpatch: add bus_type Date: Sun, 04 Feb 2024 19:39:57 -0300 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@xxxxxxxxxxxx Signed-off-by: Ricardo B. Marliere <ricardo@xxxxxxxxxxxx> Suggested-by: Thomas WeiÃ?schuh <linux@xxxxxxxxxxxxxx> Reviewed-by: Thomas WeiÃ?schuh <linux@xxxxxxxxxxxxxx> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Joe Perches <joe@xxxxxxxxxxx> Cc: Andy Whitcroft <apw@xxxxxxxxxxxxx> Cc: Dwaipayan Ray <dwaipayanray1@xxxxxxxxx> Cc: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/const_structs.checkpatch | 1 + 1 file changed, 1 insertion(+) --- a/scripts/const_structs.checkpatch~const_structscheckpatch-add-bus_type +++ a/scripts/const_structs.checkpatch @@ -2,6 +2,7 @@ acpi_dock_ops address_space_operations backlight_ops block_device_operations +bus_type clk_ops comedi_lrange component_ops _ Patches currently in -mm which might be from ricardo@xxxxxxxxxxxx are const_structscheckpatch-add-bus_type.patch