[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201124144721.3e80698c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 24 Nov 2020 14:47:21 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Alex Elder <elder@...nel.org>,
Kalle Valo <kvalo@...eaurora.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, ath10k@...ts.infradead.org,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] soc: qcom: ipa: Constify static qmi
structs
On Mon, 23 Nov 2020 00:40:30 +0100 Rikard Falkeborn wrote:
> These are only used as input arguments to qmi_handle_init() which
> accepts const pointers to both qmi_ops and qmi_msg_handler. Make them
> const to allow the compiler to put them in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
I can take this one if Alex acks it.
The other patch is probably best handled by Kalle.
Powered by blists - more mailing lists