[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025091913-hurricane-scored-2bea@gregkh>
Date: Fri, 19 Sep 2025 17:39:18 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Adrian Barnaś <abarnas@...gle.com>
Cc: Manivannan Sadhasivam <mani@...nel.org>, mhi@...ts.linux.dev,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
Akhil Vinod <akhil.vinod@....qualcomm.com>,
Sumit Kumar <sumit.kumar@....qualcomm.com>,
Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>
Subject: Re: [PATCH] drivers: mhi: make mhi_ep_bus_type const
On Fri, Sep 19, 2025 at 07:44:08AM +0000, Adrian Barnaś wrote:
> Because driver core can properly handle constant struct bus_type,
> move the mhi_ep_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/bus/mhi/ep/internal.h | 2 +-
> drivers/bus/mhi/ep/main.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists