Skip to contentSkip to conversation

drivers: usb: core: driver: fixed 80 line character length issue

PATCH In review Lokesh Chebrolu 2 participants 2 messages May 31, 2020 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: usb: core: driver: fixed 80 line character length issue

From: lokeshch007 <[email protected]>

Fixed a coding style issue

---
 drivers/usb/core/driver.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/usb/core/driver.c +3 -1
index f81606c..83c3287 100644
@@ -1796,7 +1796,9 @@ int usb_autopm_get_interface_async(struct usb_interface *intf)
 EXPORT_SYMBOL_GPL(usb_autopm_get_interface_async);
 
 /**
- * usb_autopm_get_interface_no_resume - increment a USB interface's PM-usage counter
+ * usb_autopm_get_interface_no_resume -
+ * increment a USB interface's PM-usage counter
+ *
  * @intf: the usb_interface whose counter should be incremented
  *
  * This routine increments @intf's usage counter but does not carry out an
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 1 line · Lokesh Chebrolu

From: lokeshch007 <[email protected]>

This has to match the s-o-b line

Quoted 2 lines

Fixed a coding style issue

What issue?

Quoted 11 lines
---
 drivers/usb/core/driver.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/usb/core/driver.c +0 -0
index f81606c..83c3287 100644

drivers/usb/core/driver.c int usb_autopm_get_interface_async(struct usb_interface *intf) · line 1801

Quoted 7 lines
drivers/usb/core/driver.c +3 -1
@@ -1796,7 +1796,9 @@ int usb_autopm_get_interface_async(struct usb_interface *intf)
 EXPORT_SYMBOL_GPL(usb_autopm_get_interface_async);
 
 /**
- * usb_autopm_get_interface_no_resume - increment a USB interface's PM-usage counter
+ * usb_autopm_get_interface_no_resume -
+ * increment a USB interface's PM-usage counter
+ *

Nope, the original is correct, sorry, kerneldoc wants this to be a long single line.

When starting out in kernel development, please stick to drivers/staging/ which has lots of places to clean up and patches like this are welcomed much more so than other parts of the kernel.

thanks,

greg k-h