From 549038c56faf1db224a1f67f622d220d99804a29 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 8a9d08f90f02..09d5274f186c 100644 --- a/drivers/soc/qcom/spcom.c +++ b/drivers/soc/qcom/spcom.c @@ -1920,7 +1920,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);