mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][next] usb: gadget: udc-xilinx: Remove trailing space after \n newline
@ 2024-09-01 16:23 Colin Ian King
  2024-09-05  9:34 ` Pandey, Radhey Shyam
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2024-09-01 16:23 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Michal Simek, linux-usb, linux-arm-kernel
  Cc: kernel-janitors, linux-kernel

There is a extraneous space after a newline in a dev_dbg message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c
index 74590f93ea61..ebc45565c33e 100644
--- a/drivers/usb/gadget/udc/udc-xilinx.c
+++ b/drivers/usb/gadget/udc/udc-xilinx.c
@@ -947,7 +947,7 @@ static int xudc_ep_disable(struct usb_ep *_ep)
 	ep->desc = NULL;
 	ep->ep_usb.desc = NULL;
 
-	dev_dbg(udc->dev, "USB Ep %d disable\n ", ep->epnumber);
+	dev_dbg(udc->dev, "USB Ep %d disable\n", ep->epnumber);
 	/* Disable the endpoint.*/
 	epcfg = udc->read_fn(udc->addr + ep->offset);
 	epcfg &= ~XUSB_EP_CFG_VALID_MASK;
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH][next] usb: gadget: udc-xilinx: Remove trailing space after \n newline
  2024-09-01 16:23 [PATCH][next] usb: gadget: udc-xilinx: Remove trailing space after \n newline Colin Ian King
@ 2024-09-05  9:34 ` Pandey, Radhey Shyam
  0 siblings, 0 replies; 2+ messages in thread
From: Pandey, Radhey Shyam @ 2024-09-05  9:34 UTC (permalink / raw)
  To: Colin Ian King, Greg Kroah-Hartman, Simek, Michal, linux-usb,
	linux-arm-kernel
  Cc: kernel-janitors, linux-kernel

> -----Original Message-----
> From: Colin Ian King <colin.i.king@gmail.com>
> Sent: Sunday, September 1, 2024 9:54 PM
> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>; Michal Simek
> <michal.simek@amd.com>; linux-usb@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [PATCH][next] usb: gadget: udc-xilinx: Remove trailing space after \n
> newline
> 
> There is a extraneous space after a newline in a dev_dbg message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Thanks!
> ---
>  drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/gadget/udc/udc-xilinx.c
> b/drivers/usb/gadget/udc/udc-xilinx.c
> index 74590f93ea61..ebc45565c33e 100644
> --- a/drivers/usb/gadget/udc/udc-xilinx.c
> +++ b/drivers/usb/gadget/udc/udc-xilinx.c
> @@ -947,7 +947,7 @@ static int xudc_ep_disable(struct usb_ep *_ep)
>  	ep->desc = NULL;
>  	ep->ep_usb.desc = NULL;
> 
> -	dev_dbg(udc->dev, "USB Ep %d disable\n ", ep->epnumber);
> +	dev_dbg(udc->dev, "USB Ep %d disable\n", ep->epnumber);
>  	/* Disable the endpoint.*/
>  	epcfg = udc->read_fn(udc->addr + ep->offset);
>  	epcfg &= ~XUSB_EP_CFG_VALID_MASK;
> --
> 2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-05  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-01 16:23 [PATCH][next] usb: gadget: udc-xilinx: Remove trailing space after \n newline Colin Ian King
2024-09-05  9:34 ` Pandey, Radhey Shyam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®