Re: [PATCH] hv: vmbus: make hv_bus const

2024-02-05 Thread Ricardo B. Marliere
Hi Michael, On 5 Feb 16:40, Michael Kelley wrote: > From: Ricardo B. Marliere Sent: Sunday, February 4, > 2024 8:38 AM > > > > NIT: For consistency, we try to use "Drivers: hv: vmbus:" as the prefix on > the > Subject line for patches to vmbus_drv.c.

[PATCH] hv: vmbus: make hv_bus const

2024-02-04 Thread Ricardo B. Marliere
Now that the driver core can properly handle constant struct bus_type, move the hv_bus 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 Suggested-by: Greg Kroah-Hartman Signed-off-by: Ricardo B. Marliere