Skip to contentSkip to conversation

USB: wusbcore: add in missing white space in error message text

PATCH In review Colin King 2 participants 2 messages Sep 12, 2016 USB

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 USB: wusbcore: add in missing white space in error message text

From: Colin Ian King <[email protected]>

A dev_err message spans two lines and the literal string is missing a white space between words. Add the white space.

---
 drivers/usb/wusbcore/cbaf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/wusbcore/cbaf.c +1 -1
index da1b872..62ade9f 100644
@@ -610,7 +610,7 @@ static int cbaf_probe(struct usb_interface *iface,
 	cbaf->usb_iface = usb_get_intf(iface);
 	result = cbaf_check(cbaf);
 	if (result < 0) {
-		dev_err(dev, "This device is not WUSB-CBAF compliant"
+		dev_err(dev, "This device is not WUSB-CBAF compliant "
 			"and is not supported yet.\n");
 		goto error_check;
 	}
Signature · 1 line
2.9.3
#1 lore raw
Quoted 15 lines · Colin King

From: Colin Ian King <[email protected]>

A dev_err message spans two lines and the literal string is missing a white space between words. Add the white space.

---
 drivers/usb/wusbcore/cbaf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/wusbcore/cbaf.c +0 -0
index da1b872..62ade9f 100644

drivers/usb/wusbcore/cbaf.c static int cbaf_probe(struct usb_interface *iface, · line 614

Quoted 6 lines
drivers/usb/wusbcore/cbaf.c +1 -1
@@ -610,7 +610,7 @@ static int cbaf_probe(struct usb_interface *iface,
 	cbaf->usb_iface = usb_get_intf(iface);
 	result = cbaf_check(cbaf);
 	if (result < 0) {
-		dev_err(dev, "This device is not WUSB-CBAF compliant"
+		dev_err(dev, "This device is not WUSB-CBAF compliant "
 			"and is not supported yet.\n");

The messages just shouldn't be broken up in order to facilitate grep'ping.

[...]

MBR, Sergei