[PATCH v2 3/5] rpmsg: Constify buffer passed to send API
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Tue Mar 10 07:35:22 PDT 2026
Il 10/03/26 12:22, Krzysztof Kozlowski ha scritto:
> The rpmsg_send(), rpmsg_sendto() and other variants of sending
> interfaces should only send the passed data, without modifying its
> contents, so mark pointer 'data' as pointer to const. All users of this
> interface already follow this approach, so only the function
> declarations have to be updated.
>
> Acked-by: Mathieu Poirier <mathieuu.poirier at linaro.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list