Re: [PATCH v2 3/5] rpmsg: Constify buffer passed to send API

From: AngeloGioacchino Del Regno

Date: Tue Mar 10 2026 - 11:10:55 EST


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@xxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>