[v2,1/1] Input: ims-pcu - fix typo in an error log

Message ID 1511512197-14996-1-git-send-email-thunder.leizhen@huawei.com
State New
Headers show
  • [v2,1/1] Input: ims-pcu - fix typo in an error log
Related show

Commit Message

Leizhen (ThunderTown) Nov. 24, 2017, 8:29 a.m.
1. change "to" to "too". 
2. move ")" to the front of "\n", which discovered by Joe Perches.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

Reviewed-by: Joe Perches <joe@perches.com>

 drivers/input/misc/ims-pcu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c
index ae47312..253ae8e 100644
--- a/drivers/input/misc/ims-pcu.c
+++ b/drivers/input/misc/ims-pcu.c
@@ -1651,7 +1651,7 @@  static void ims_pcu_buffers_free(struct ims_pcu *pcu)
 				return union_desc;

-				"Union descriptor to short (%d vs %zd\n)",
+				"Union descriptor too short (%d vs %zd)\n",
 				union_desc->bLength, sizeof(*union_desc));
 			return NULL;