]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
remoteproc: mtk_scp_ipi: Constify buffer passed to scp_ipi_send()
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Tue, 17 Mar 2026 12:36:50 +0000 (13:36 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 6 Apr 2026 14:37:50 +0000 (09:37 -0500)
commit4251dab9d176212afdf4ced263b59bc0d5292c7f
tree5eec607c42bce9e0119bea4d53a1525073a959b9
parent82c43bae4778c5b80df02e3df03dfcc21de3bb76
remoteproc: mtk_scp_ipi: Constify buffer passed to scp_ipi_send()

scp_ipi_send() should only send the passed buffer, without modifying its
contents, so mark pointer 'buf' as pointer to const.

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-1-4d7fd27f037f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/mtk_scp_ipi.c
include/linux/remoteproc/mtk_scp.h