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

From: Kalle Valo
Date: Wed Nov 25 2020 - 01:00:21 EST


Jakub Kicinski <kuba@xxxxxxxxxx> writes:

> 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@xxxxxxxxx>
>
> I can take this one if Alex acks it.
>
> The other patch is probably best handled by Kalle.

Yes, patch 2 is in my queue.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches