Re: [PATCH] [trivial] usb: Fix various typo within usb

From: Alan Stern
Date: Wed Apr 18 2012 - 11:49:53 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/