[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a79662bc-be6a-ed22-76be-c492d4cfd600@linaro.org>
Date: Tue, 24 Nov 2020 10:46:33 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: linux-arm-msm@...r.kernel.org, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] slimbus: qcom-ngd-ctrl: Constify static structs
On 22/11/2020 23:42, Rikard Falkeborn wrote:
> qcom_slim_qmi_msg_handlers[] and qcom_slim_ngd_qmi_svc_event_ops 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>
> ---
Applied thanks,
--srini
Powered by blists - more mailing lists