[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025091949-finer-velvet-334c@gregkh>
Date: Fri, 19 Sep 2025 17:39:01 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Adrian Barnaś <abarnas@...gle.com>
Cc: Kees Cook <kees@...nel.org>, Alejandro Colomar <alx@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: eisa: make eisa_bus_type const
On Fri, Sep 19, 2025 at 06:53:27AM +0000, Adrian Barnaś wrote:
> Because driver core can properly handle constant struct bus_type,
> move the eisa_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/eisa/eisa-bus.c | 2 +-
> include/linux/eisa.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists