All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [trivial] usb: Fix various typo within usb
@ 2012-04-18 15:04 Masanari Iida
  2012-04-18 15:49 ` Alan Stern
  2012-04-18 20:13 ` Randy Dunlap
  0 siblings, 2 replies; 3+ messages in thread
From: Masanari Iida @ 2012-04-18 15:04 UTC (permalink / raw)
  To: linux-usb, stern, trivial; +Cc: linux-kernel, Masanari Iida

Correct spelling typo within usb

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/usb/gadget/f_hid.c       |    2 +-
 drivers/usb/host/ehci-platform.c |    4 ++--
 drivers/usb/host/fhci-tds.c      |    2 +-
 drivers/usb/host/ohci-platform.c |    4 ++--
 drivers/usb/host/ohci-ppc-of.c   |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/usb/gadget/f_hid.c b/drivers/usb/gadget/f_hid.c
index b211342..3b3932c 100644
--- a/drivers/usb/gadget/f_hid.c
+++ b/drivers/usb/gadget/f_hid.c
@@ -374,7 +374,7 @@ static int hidg_setup(struct usb_function *f,
 			break;
 
 		default:
-			VDBG(cdev, "Unknown decriptor request 0x%x\n",
+			VDBG(cdev, "Unknown descriptor request 0x%x\n",
 				 value >> 8);
 			goto stall;
 			break;
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index d238b4e2..23c530a 100644
--- a/drivers/usb/host/ehci-platform.c
+++ b/drivers/usb/host/ehci-platform.c
@@ -94,12 +94,12 @@ static int __devinit ehci_platform_probe(struct platform_device *dev)
 
 	irq = platform_get_irq(dev, 0);
 	if (irq < 0) {
-		pr_err("no irq provieded");
+		pr_err("no irq provided");
 		return irq;
 	}
 	res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
 	if (!res_mem) {
-		pr_err("no memory recourse provieded");
+		pr_err("no memory recourse provided");
 		return -ENXIO;
 	}
 
diff --git a/drivers/usb/host/fhci-tds.c b/drivers/usb/host/fhci-tds.c
index 0ea577b..c5ed881 100644
--- a/drivers/usb/host/fhci-tds.c
+++ b/drivers/usb/host/fhci-tds.c
@@ -155,7 +155,7 @@ u32 fhci_create_ep(struct fhci_usb *usb, enum fhci_mem_alloc data_mem,
 	struct endpoint *ep;
 	struct usb_td __iomem *td;
 	unsigned long ep_offset;
-	char *err_for = "enpoint PRAM";
+	char *err_for = "endpoint PRAM";
 	int ep_mem_size;
 	u32 i;
 
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
index ec5c679..670c705 100644
--- a/drivers/usb/host/ohci-platform.c
+++ b/drivers/usb/host/ohci-platform.c
@@ -93,13 +93,13 @@ static int __devinit ohci_platform_probe(struct platform_device *dev)
 
 	irq = platform_get_irq(dev, 0);
 	if (irq < 0) {
-		pr_err("no irq provieded");
+		pr_err("no irq provided");
 		return irq;
 	}
 
 	res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
 	if (!res_mem) {
-		pr_err("no memory recourse provieded");
+		pr_err("no memory recourse provided");
 		return -ENXIO;
 	}
 
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c
index d24cc89d..b2b5767 100644
--- a/drivers/usb/host/ohci-ppc-of.c
+++ b/drivers/usb/host/ohci-ppc-of.c
@@ -236,7 +236,7 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_ppc_of_match);
 
 #if	!defined(CONFIG_USB_OHCI_HCD_PPC_OF_BE) && \
 	!defined(CONFIG_USB_OHCI_HCD_PPC_OF_LE)
-#error "No endianess selected for ppc-of-ohci"
+#error "No endianness selected for ppc-of-ohci"
 #endif
 
 
-- 
1.7.10.169.g146fe


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

* Re: [PATCH] [trivial] usb: Fix various typo within usb
  2012-04-18 15:04 [PATCH] [trivial] usb: Fix various typo within usb Masanari Iida
@ 2012-04-18 15:49 ` Alan Stern
  2012-04-18 20:13 ` Randy Dunlap
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Stern @ 2012-04-18 15:49 UTC (permalink / raw)
  To: Masanari Iida; +Cc: linux-usb, trivial, linux-kernel

On Thu, 19 Apr 2012, Masanari Iida wrote:

> Correct spelling typo within usb

> --- a/drivers/usb/host/ehci-platform.c
> +++ b/drivers/usb/host/ehci-platform.c
> @@ -94,12 +94,12 @@ static int __devinit ehci_platform_probe(struct platform_device *dev)
>  
>  	irq = platform_get_irq(dev, 0);
>  	if (irq < 0) {
> -		pr_err("no irq provieded");
> +		pr_err("no irq provided");
>  		return irq;
>  	}
>  	res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
>  	if (!res_mem) {
> -		pr_err("no memory recourse provieded");
> +		pr_err("no memory recourse provided");

This is a good thing to do, but you should fix the spelling of 
"resource" as well.  Also in ohci-platform.c.

Alan Stern



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

* Re: [PATCH] [trivial] usb: Fix various typo within usb
  2012-04-18 15:04 [PATCH] [trivial] usb: Fix various typo within usb Masanari Iida
  2012-04-18 15:49 ` Alan Stern
@ 2012-04-18 20:13 ` Randy Dunlap
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2012-04-18 20:13 UTC (permalink / raw)
  To: Masanari Iida; +Cc: linux-usb, stern, trivial, linux-kernel

On 04/18/2012 08:04 AM, Masanari Iida wrote:

> Correct spelling typo within usb
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  drivers/usb/gadget/f_hid.c       |    2 +-
>  drivers/usb/host/ehci-platform.c |    4 ++--
>  drivers/usb/host/fhci-tds.c      |    2 +-
>  drivers/usb/host/ohci-platform.c |    4 ++--
>  drivers/usb/host/ohci-ppc-of.c   |    2 +-
>  5 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
> index d238b4e2..23c530a 100644
> --- a/drivers/usb/host/ehci-platform.c
> +++ b/drivers/usb/host/ehci-platform.c
> @@ -94,12 +94,12 @@ static int __devinit ehci_platform_probe(struct platform_device *dev)
>  
>  	irq = platform_get_irq(dev, 0);
>  	if (irq < 0) {
> -		pr_err("no irq provieded");
> +		pr_err("no irq provided");
>  		return irq;
>  	}
>  	res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
>  	if (!res_mem) {
> -		pr_err("no memory recourse provieded");
> +		pr_err("no memory recourse provided");


		                  resource

>  		return -ENXIO;
>  	}
>  
> diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c
> index ec5c679..670c705 100644
> --- a/drivers/usb/host/ohci-platform.c
> +++ b/drivers/usb/host/ohci-platform.c
> @@ -93,13 +93,13 @@ static int __devinit ohci_platform_probe(struct platform_device *dev)
>  
>  	irq = platform_get_irq(dev, 0);
>  	if (irq < 0) {
> -		pr_err("no irq provieded");
> +		pr_err("no irq provided");
>  		return irq;
>  	}
>  
>  	res_mem = platform_get_resource(dev, IORESOURCE_MEM, 0);
>  	if (!res_mem) {
> -		pr_err("no memory recourse provieded");
> +		pr_err("no memory recourse provided");


		                  resource

>  		return -ENXIO;
>  	}
>  


-- 
~Randy

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

end of thread, other threads:[~2012-04-18 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 15:04 [PATCH] [trivial] usb: Fix various typo within usb Masanari Iida
2012-04-18 15:49 ` Alan Stern
2012-04-18 20:13 ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.