Re: [PATCH] hv: vmbus: make hv_bus const
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2024-02-05 19:03:46
Also in:
lkml
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2024-02-05 19:03:46
Also in:
lkml
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-Hartman <gregkh@linuxfoundation.org> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ricardo B. Marliere <redacted>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>