Re: [PATCH net-next 1/2] soc: qcom: ipa: Constify static qmi structs

From: Jakub Kicinski
Date: Wed Nov 25 2020 - 17:50:05 EST


On Wed, 25 Nov 2020 15:45:05 -0600 Alex Elder wrote:
> On 11/22/20 5:40 PM, 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@xxxxxxxxx>
>
> Acked-by: Alex Elder <elder@xxxxxxxxxx>

Applied to net-next, thanks!