mcb: mcb updates for v6.9
cover mcb: mcb updates for v6.9
Hi Greg,
Here's the one patch I've colleceted for mcb this cycle.
As you've already provided your Reviewed-by I suppose your OK with it.
Byte,
Johannes
Ricardo B. Marliere (1):
mcb: make mcb_bus_type const
drivers/mcb/mcb-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.35.3
PATCH 1/1 mcb: make mcb_bus_type const
From: "Ricardo B. Marliere" <[email protected]>
Now that the driver core can properly handle constant struct bus_type, move the mcb_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime.
Cc Greg Kroah-Hartman <[email protected]>
Suggested-by Greg Kroah-Hartman <[email protected]>
Signed-off-by Ricardo B. Marliere <[email protected]>
Reviewed-by Greg Kroah-Hartman <[email protected]>
Reviewed-by Johannes Thumshirn <[email protected]>
Signed-off-by Johannes Thumshirn <[email protected]>
--- drivers/mcb/mcb-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mcb/mcb-core.c +1 -1
@@ -156,7 +156,7 @@ static const struct attribute_group *mcb_carrier_groups[] = { }; -static struct bus_type mcb_bus_type = { +static const struct bus_type mcb_bus_type = { .name ="mcb" , .match = mcb_match, .uevent = mcb_uevent,
Signature · 1 line
2.35.3