]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: gadget: dummy-hcd: Remove utf8 from format string
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 5 Feb 2015 23:42:00 +0000 (00:42 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 11 Mar 2015 15:19:37 +0000 (10:19 -0500)
Not everybody uses a utf8 locale (unfortunately), so let's avoid
non-ascii characters in the kernel log. Replace the 3-byte utf8
sequence with a 3-byte ascii equivalent.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/dummy_hcd.c

index 8dda48445f6ff5a4a066d870f61bd539c603c214..7592db7824c678da6dd1341fc4c5ab250cba6cd1 100644 (file)
@@ -2631,7 +2631,7 @@ static int __init init(void)
                return -EINVAL;
 
        if (mod_data.num < 1 || mod_data.num > MAX_NUM_UDC) {
-               pr_err("Number of emulated UDC must be in range of 1%d\n",
+               pr_err("Number of emulated UDC must be in range of 1...%d\n",
                                MAX_NUM_UDC);
                return -EINVAL;
        }