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

Jakub Kicinski kuba at kernel.org
Tue Nov 24 17:47:21 EST 2020


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 at gmail.com>

I can take this one if Alex acks it.

The other patch is probably best handled by Kalle.



More information about the ath10k mailing list