[PATCH v2 4/5] ASoC: qcom:: Constify GPR packet being send over GPR interface

Mark Brown broonie at kernel.org
Tue Mar 10 08:18:03 PDT 2026


On Tue, Mar 10, 2026 at 12:22:38PM +0100, Krzysztof Kozlowski wrote:
> gpr_send_pkt() and pkt_router_send_svc_pkt() only send the GPR packet
> they receive, without any need to actually modify it, so mark the
> pointer to GPR packet as pointer to const for code safety and code
> self-documentation.  Several usersof this interface can follow up and
> also operate on pointer to const.

Acked-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20260310/64f6cc49/attachment.sig>


More information about the Linux-mediatek mailing list