* [merged mm-nonmm-stable] const_structscheckpatch-add-device_type.patch removed from -mm tree
@ 2024-03-06 21:08 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-03-06 21:08 UTC (permalink / raw)
To: mm-commits, joe, gregkh, ricardo, akpm
The quilt patch titled
Subject: const_structs.checkpatch: add device_type
has been removed from the -mm tree. Its filename was
const_structscheckpatch-add-device_type.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Ricardo B. Marliere" <ricardo@marliere.net>
Subject: const_structs.checkpatch: add device_type
Date: Sun, 18 Feb 2024 16:25:51 -0300
Since commit aed65af1cc2f ("drivers: make device_type const"), the driver
core can properly handle constant struct device_type. Make sure that new
usages of the struct already enter the tree as const.
Link: https://lkml.kernel.org/r/20240218-device_cleanup-checkpatch-v1-1-8b0b89c4f6b1@marliere.net
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
scripts/const_structs.checkpatch | 1 +
1 file changed, 1 insertion(+)
--- a/scripts/const_structs.checkpatch~const_structscheckpatch-add-device_type
+++ a/scripts/const_structs.checkpatch
@@ -8,6 +8,7 @@ comedi_lrange
component_ops
dentry_operations
dev_pm_ops
+device_type
dma_map_ops
driver_info
drm_connector_funcs
_
Patches currently in -mm which might be from ricardo@marliere.net are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-06 21:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 21:08 [merged mm-nonmm-stable] const_structscheckpatch-add-device_type.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.