From: Zhen Lei Date: Sat, 25 Nov 2017 23:48:32 +0000 (-0800) Subject: Input: ims-pcu - fix typo in the error message X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5ddc3c656bfb5c90d0196ff72b908d0343fef85e;p=openwrt%2Fstaging%2Fblogic.git Input: ims-pcu - fix typo in the error message 1. change "to" to "too". 2. move ")" to the front of "\n", which discovered by Joe Perches. Signed-off-by: Zhen Lei Reviewed-by: Joe Perches Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index ae473123583b..3d51175c4d72 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c @@ -1651,7 +1651,7 @@ ims_pcu_get_cdc_union_desc(struct usb_interface *intf) return union_desc; dev_err(&intf->dev, - "Union descriptor to short (%d vs %zd\n)", + "Union descriptor too short (%d vs %zd)\n", union_desc->bLength, sizeof(*union_desc)); return NULL; }