diff mbox series

[v2] usb: core: hcd: fix messages in usb_hcd_request_irqs()

Message ID 5d10014d-e58b-d081-ed7c-7424f649ce0b@omp.ru
State New
Headers show
Series [v2] usb: core: hcd: fix messages in usb_hcd_request_irqs() | expand

Commit Message

Sergey Shtylyov Sept. 16, 2021, 8:04 p.m. UTC
Two dev_info() calls in usb_hcd_request_irqs() mistreat the I/O port base
address, calling it just "io base" instead of "io port".

While fixing this, make indenataion of the argument lists more sane... 

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>

---
The patch is against the 'usb-linus' branch of Greg KH's 'usb.git' repo...

Changes in version 2:
- changed the wording (and formatting) in the patch subject and description.

 drivers/usb/core/hcd.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

Index: usb/drivers/usb/core/hcd.c
===================================================================
--- usb.orig/drivers/usb/core/hcd.c
+++ usb/drivers/usb/core/hcd.c
@@ -2732,14 +2732,14 @@  static int usb_hcd_request_irqs(struct u
 		hcd->irq = irqnum;
 		dev_info(hcd->self.controller, "irq %d, %s 0x%08llx\n", irqnum,
 				(hcd->driver->flags & HCD_MEMORY) ?
-					"io mem" : "io base",
-					(unsigned long long)hcd->rsrc_start);
+					"io mem" : "io port",
+				(unsigned long long)hcd->rsrc_start);
 	} else {
 		hcd->irq = 0;
 		if (hcd->rsrc_start)
 			dev_info(hcd->self.controller, "%s 0x%08llx\n",
 					(hcd->driver->flags & HCD_MEMORY) ?
-					"io mem" : "io base",
+						"io mem" : "io port",
 					(unsigned long long)hcd->rsrc_start);
 	}
 	return 0;