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

2024-03-01 Thread Wei Liu
On Mon, Feb 05, 2024 at 02:34:12PM -0300, Ricardo B. Marliere wrote: > 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 > >

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

2024-02-05 Thread Greg Kroah-Hartman
On Sun, Feb 04, 2024 at 01:38:02PM -0300, Ricardo B. Marliere wrote: > 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-H

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. Thanks for the feedback, I'll keep that

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

2024-02-05 Thread Michael Kelley
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. Otherwise, Reviewed-by: Michael Kelley > Now that the driver core can properly handle constant struct b

[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 -