linux/drivers/rpmsg
Krzysztof Kozlowski b8077b4da2 rpmsg: Constify buffer passed to send API
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 <mathieu.poirier@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260317-rpmsg-send-const-v3-3-4d7fd27f037f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2026-04-06 09:37:51 -05:00
..
Kconfig
Makefile
mtk_rpmsg.c rpmsg: Constify buffer passed to send API 2026-04-06 09:37:51 -05:00
qcom_glink_native.c rpmsg: Constify buffer passed to send API 2026-04-06 09:37:51 -05:00
qcom_glink_native.h
qcom_glink_rpm.c
qcom_glink_smem.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
qcom_glink_ssr.c
qcom_glink_trace.h
qcom_smd.c rpmsg: Constify buffer passed to send API 2026-04-06 09:37:51 -05:00
rpmsg_char.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rpmsg_char.h
rpmsg_core.c rpmsg: Constify buffer passed to send API 2026-04-06 09:37:51 -05:00
rpmsg_ctrl.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rpmsg_internal.h rpmsg: Constify buffer passed to send API 2026-04-06 09:37:51 -05:00
rpmsg_ns.c
virtio_rpmsg_bus.c rpmsg: Constify buffer passed to send API 2026-04-06 09:37:51 -05:00