[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACGkMEvoRN13c9Do=HsNzxMaXd0=-cLdNKuU8P_Vdj-89fwJuA@mail.gmail.com>
Date: Tue, 6 Feb 2024 10:48:13 +0800
From: Jason Wang <jasowang@...hat.com>
To: "Ricardo B. Marliere" <ricardo@...liere.net>
Cc: "Michael S. Tsirkin" <mst@...hat.com>, Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
virtualization@...ts.linux.dev, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] virtio: make virtio_bus const
On Mon, Feb 5, 2024 at 4:52 AM Ricardo B. Marliere <ricardo@...liere.net> wrote:
>
> Now that the driver core can properly handle constant struct bus_type,
> move the virtio_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@...uxfoundation.org>
> Suggested-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Ricardo B. Marliere <ricardo@...liere.net>
> ---
Acked-by: Jason Wang <jasowang@...hat.com>
Thanks
Powered by blists - more mailing lists