Skip to contentSkip to conversation

usb: gadget: udc-xilinx: Remove trailing space after \n newline

PATCH In review Colin Ian King 2 participants 2 messages Sep 1, 2024 – Sep 5, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/udc-xilinx.c +1 -1
index 74590f93ea61..ebc45565c33e 100644
@@ -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;
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Colin Ian King <[email protected]>
Sent: Sunday, September 1, 2024 9:54 PM
To: Greg Kroah-Hartman <[email protected]>; Michal Simek <[email protected]>; [email protected]; linux-arm- [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH][next] usb: gadget: udc-xilinx: Remove trailing space after \n newline

Quoted 4 lines

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

Thanks!

Quoted 20 lines
---
 drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/udc/udc-xilinx.c +1 -2
index 74590f93ea61..ebc45565c33e 100644
@@ -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