Skip to contentSkip to conversation

usb: Fix typo in drivers/usb

PATCH In review Masanari Iida 3 participants 3 messages Oct 26, 2012 – Oct 31, 2012

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

PATCH 1/1 usb: Fix typo in drivers/usb

Correct spelling typo in debug message within drivers/usb.

---
 drivers/usb/gadget/fsl_udc_core.c   | 2 +-
 drivers/usb/gadget/tcm_usb_gadget.c | 2 +-
 drivers/usb/host/Kconfig            | 4 ++--
 drivers/usb/musb/musb_dsps.c        | 2 +-
 drivers/usb/renesas_usbhs/fifo.c    | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
drivers/usb/gadget/fsl_udc_core.c +1 -1
index 3def828..37a4e01 100644
@@ -2126,7 +2126,7 @@ static int fsl_proc_read(char *page, char **start, off_t off, int count,
 
 	tmp_reg = fsl_readl(&dr_regs->usbintr);
 	t = scnprintf(next, size,
-			"USB Intrrupt Enable Reg:\n"
+			"USB Interrupt Enable Reg:\n"
 			"Sleep Enable: %d SOF Received Enable: %d "
 			"Reset Enable: %d\n"
 			"System Error Enable: %d "
drivers/usb/gadget/tcm_usb_gadget.c +1 -1
index 5444866..73eac8f 100644
@@ -1387,7 +1387,7 @@ static struct se_node_acl *usbg_alloc_fabric_acl(struct se_portal_group *se_tpg)
 
 	nacl = kzalloc(sizeof(struct usbg_nacl), GFP_KERNEL);
 	if (!nacl) {
-		printk(KERN_ERR "Unable to alocate struct usbg_nacl\n");
+		printk(KERN_ERR "Unable to allocate struct usbg_nacl\n");
 		return NULL;
 	}
 
drivers/usb/host/Kconfig +2 -2
index 075d2ec..7cac2e8 100644
@@ -418,7 +418,7 @@ config USB_OHCI_HCD_PLATFORM
 	default n
 	---help---
 	  Adds an OHCI host driver for a generic platform device, which
-	  provieds a memory space and an irq.
+	  provides a memory space and an irq.
 
 	  If unsure, say N.
 
@@ -428,7 +428,7 @@ config USB_EHCI_HCD_PLATFORM
 	default n
 	---help---
 	  Adds an EHCI host driver for a generic platform device, which
-	  provieds a memory space and an irq.
+	  provides a memory space and an irq.
 
 	  If unsure, say N.
 
drivers/usb/musb/musb_dsps.c +1 -1
index 494772f..59ad13d 100644
@@ -294,7 +294,7 @@ static irqreturn_t dsps_interrupt(int irq, void *hci)
 	 * Also, DRVVBUS pulses for SRP (but not at 5V) ...
 	 */
 	if ((usbintr & MUSB_INTR_BABBLE) && is_host_enabled(musb))
-		pr_info("CAUTION: musb: Babble Interrupt Occured\n");
+		pr_info("CAUTION: musb: Babble Interrupt Occurred\n");
 
 	if (usbintr & ((1 << wrp->drvvbus) << wrp->usb_shift)) {
 		int drvvbus = dsps_readl(reg_base, wrp->status);
drivers/usb/renesas_usbhs/fifo.c +1 -1
index ecd1730..2a5b78d 100644
@@ -163,7 +163,7 @@ static int usbhsf_pkt_handler(struct usbhs_pipe *pipe, int type)
 		func = pkt->handler->dma_done;
 		break;
 	default:
-		dev_err(dev, "unknown pkt hander\n");
+		dev_err(dev, "unknown pkt handler\n");
 		goto __usbhs_pkt_handler_end;
 	}
 
Signature · 1 line
1.8.0.rc3.16.g8ead1bf
maintainer
#1 lore raw
Quoted 3 lines · Masanari Iida

Correct spelling typo in debug message within drivers/usb.

This no longer applies, please redo it against the latest linux-next tree.

thanks,

greg k-h

#2 lore raw

Hi,

Quoted 7 lines · Greg KH
Quoted 3 lines · Masanari Iida

Correct spelling typo in debug message within drivers/usb.

This no longer applies, please redo it against the latest linux-next tree.

When doing so, you can add my Acked-by: Felipe Balbi <[email protected]>

Signature · 1 line
balbi