Re: [PATCH] USB: wusbcore: add in missing white space in error message text

From: Sergei Shtylyov
Date: Mon Sep 12 2016 - 09:13:09 EST


On 9/12/2016 4:01 PM, Colin King wrote:

From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

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

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/usb/wusbcore/cbaf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/wusbcore/cbaf.c b/drivers/usb/wusbcore/cbaf.c
index da1b872..62ade9f 100644
--- a/drivers/usb/wusbcore/cbaf.c
+++ b/drivers/usb/wusbcore/cbaf.c
@@ -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