From a6ec9c9d74aaa98f3acc6a6adc95988995fdb793 Mon Sep 17 00:00:00 2001 From: Amir Samuelov Date: Tue, 17 Mar 2020 12:24:07 +0200 Subject: [PATCH] soc: qcom: spcom: fix pr_err() missing "name" parameter the print format has "%s" but is missing the "name" parameter. Change-Id: Ib2fcbcf2d477552c8d2fbf16487854ac13c1b3ca Signed-off-by: Amir Samuelov --- drivers/soc/qcom/spcom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soc/qcom/spcom.c b/drivers/soc/qcom/spcom.c index 8e9148d14849..7e5343e47f5c 100644 --- a/drivers/soc/qcom/spcom.c +++ b/drivers/soc/qcom/spcom.c @@ -1943,7 +1943,8 @@ static inline int handle_poll(struct file *file, mutex_unlock(&ch->lock); break; default: - spcom_pr_err("ch [%s] unsupported ioctl:%u\n", op->cmd_id); + spcom_pr_err("ch [%s] unsupported ioctl:%u\n", + name, op->cmd_id); ret = -EINVAL; } spcom_pr_dbg("name=%s, retval=%d\n", name, op->retval);