Skip to contentSkip to conversation

usb: gadget: dummy-hcd: Remove utf8 from format string

PATCH New Rasmus Villemoes 1 participant 1 message Feb 5, 2015 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: gadget: dummy-hcd: Remove utf8 from format string

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.

---
 drivers/usb/gadget/udc/dummy_hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/dummy_hcd.c +1 -1
index 9c598801404c..3a30b6583613 100644
@@ -2626,7 +2626,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;
 	}
Signature · 1 line
2.1.3