Skip to contentSkip to conversation

const_structscheckpatch-add-device_type.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Mar 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

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" <[email protected]>
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.

---

 scripts/const_structs.checkpatch |    1 +
 1 file changed, 1 insertion(+)
scripts/const_structs.checkpatch renamed from scripts/const_structs.checkpatch~const_structscheckpatch-add-device_type +1 -0
@@ -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 [email protected] are