2009-07-06 12:25:54

by Anand Gadiyar

[permalink] [raw]
Subject: [PATCH] Trivial: Fix typo "for for"

From: Anand Gadiyar <[email protected]>

Trivial: Fix typo "for for"

Signed-off-by: Anand Gadiyar <[email protected]>
---
drivers/usb/host/ehci-pci.c | 2 +-
drivers/usb/host/ehci.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-omap-2.6/drivers/usb/host/ehci-pci.c
===================================================================
--- linux-omap-2.6.orig/drivers/usb/host/ehci-pci.c
+++ linux-omap-2.6/drivers/usb/host/ehci-pci.c
@@ -242,7 +242,7 @@ static int ehci_pci_setup(struct usb_hcd
* System suspend currently expects to be able to suspend the entire
* device tree, device-at-a-time. If we failed selective suspend
* reports, system suspend would fail; so the root hub code must claim
- * success. That's lying to usbcore, and it matters for for runtime
+ * success. That's lying to usbcore, and it matters for runtime
* PM scenarios with selective suspend and remote wakeup...
*/
if (ehci->no_selective_suspend && device_can_wakeup(&pdev->dev))
Index: linux-omap-2.6/drivers/usb/host/ehci.h
===================================================================
--- linux-omap-2.6.orig/drivers/usb/host/ehci.h
+++ linux-omap-2.6/drivers/usb/host/ehci.h
@@ -37,7 +37,7 @@ typedef __u16 __bitwise __hc16;
#define __hc16 __le16
#endif

-/* statistics can be kept for for tuning/monitoring */
+/* statistics can be kept for tuning/monitoring */
struct ehci_stats {
/* irq usage */
unsigned long normal;


2009-07-07 08:00:42

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH] Trivial: Fix typo "for for"

On Mon, 6 Jul 2009, Gadiyar, Anand wrote:

> From: Anand Gadiyar <[email protected]>
>
> Trivial: Fix typo "for for"
>
> Signed-off-by: Anand Gadiyar <[email protected]>
> ---
> drivers/usb/host/ehci-pci.c | 2 +-
> drivers/usb/host/ehci.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux-omap-2.6/drivers/usb/host/ehci-pci.c
> ===================================================================
> --- linux-omap-2.6.orig/drivers/usb/host/ehci-pci.c
> +++ linux-omap-2.6/drivers/usb/host/ehci-pci.c
> @@ -242,7 +242,7 @@ static int ehci_pci_setup(struct usb_hcd
> * System suspend currently expects to be able to suspend the entire
> * device tree, device-at-a-time. If we failed selective suspend
> * reports, system suspend would fail; so the root hub code must claim
> - * success. That's lying to usbcore, and it matters for for runtime
> + * success. That's lying to usbcore, and it matters for runtime
> * PM scenarios with selective suspend and remote wakeup...
> */
> if (ehci->no_selective_suspend && device_can_wakeup(&pdev->dev))
> Index: linux-omap-2.6/drivers/usb/host/ehci.h
> ===================================================================
> --- linux-omap-2.6.orig/drivers/usb/host/ehci.h
> +++ linux-omap-2.6/drivers/usb/host/ehci.h
> @@ -37,7 +37,7 @@ typedef __u16 __bitwise __hc16;
> #define __hc16 __le16
> #endif
>
> -/* statistics can be kept for for tuning/monitoring */
> +/* statistics can be kept for tuning/monitoring */
> struct ehci_stats {
> /* irq usage */
> unsigned long normal;

Applied to trivial queue, thanks.

--
Jiri Kosina
SUSE Labs