lkml.org 
[lkml]   [2016]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] USB: wusbcore: add in missing white space in error message text
From
Date
On 9/12/2016 4:01 PM, Colin King wrote:

> From: Colin Ian King <colin.king@canonical.com>
>
> 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@canonical.com>
> ---
> 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

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.033 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site