From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: "Adrian Barnaś" <abarnas@google.com>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Akhil Vinod <akhil.vinod@oss.qualcomm.com>,
Sumit Kumar <sumit.kumar@oss.qualcomm.com>,
Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Subject: Re: [PATCH] drivers: mhi: make mhi_ep_bus_type const
Date: Fri, 19 Sep 2025 17:39:18 +0200 [thread overview]
Message-ID: <2025091913-hurricane-scored-2bea@gregkh> (raw)
In-Reply-To: <20250919074408.868220-1-abarnas@google.com>
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@google.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@linuxfoundation.org>
next prev parent reply other threads:[~2025-09-19 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-19 7:44 [PATCH] drivers: mhi: make mhi_ep_bus_type const Adrian Barnaś
2025-09-19 15:39 ` Greg Kroah-Hartman [this message]
2025-10-15 11:24 ` Manivannan Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2025091913-hurricane-scored-2bea@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=abarnas@google.com \
--cc=akhil.vinod@oss.qualcomm.com \
--cc=krishna.chundru@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=mhi@lists.linux.dev \
--cc=sumit.kumar@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox