[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025091904-shorts-dipped-f7e1@gregkh>
Date: Fri, 19 Sep 2025 17:39:08 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Adrian Barnaś <abarnas@...gle.com>
Cc: Matt Porter <mporter@...nel.crashing.org>,
Alexandre Bounine <alex.bou9@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: rapidio: make rio_bus_type const
On Fri, Sep 19, 2025 at 07:32:01AM +0000, Adrian Barnaś wrote:
> Because driver core can properly handle constant struct bus_type,
> move the rio_bus_type to be a constant structure as well, placing it into
> read-only memory which can not be modified at runtime.
>
> Signed-off-by: Adrian Barnaś <abarnas@...gle.com>
> ---
> drivers/rapidio/rio-driver.c | 2 +-
> include/linux/rio.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists