Skip to content

Commit d1a8ac1

Browse files
tinghan-shenmathieupoirier
authored andcommitted
remoteproc: mediatek: Refine ipi handler error message
The error message doesn't accurately reflect the cause of the error. The error is due to a handler not being found, not an invalid IPI ID. Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230901080935.14571-14-tinghan.shen@mediatek.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
1 parent b0cdc6a commit d1a8ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/remoteproc/mtk_scp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static void scp_ipi_handler(struct mtk_scp *scp)
112112
scp_ipi_lock(scp, id);
113113
handler = ipi_desc[id].handler;
114114
if (!handler) {
115-
dev_err(scp->dev, "No such ipi id = %d\n", id);
115+
dev_err(scp->dev, "No handler for ipi id = %d\n", id);
116116
scp_ipi_unlock(scp, id);
117117
return;
118118
}

0 commit comments

Comments
 (0)