Skip to contentSkip to conversation

drivers/usb/host/ehci-sched.c Fix typo

PATCH In review Justin P. Mattock 2 participants 3 messages Aug 3, 2010

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

PATCH 1/1 drivers/usb/host/ehci-sched.c Fix typo

The below patch fixes a typo in a comment.

---
 drivers/usb/host/ehci-sched.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/host/ehci-sched.c +1 -1
index 805ec63..3c170a9 100644
@@ -1662,7 +1662,7 @@ itd_link_urb (
 
 #define	ISO_ERRS (EHCI_ISOC_BUF_ERR | EHCI_ISOC_BABBLE | EHCI_ISOC_XACTERR)
 
-/* Process and recycle a completed ITD.  Return true iff its urb completed,
+/* Process and recycle a completed ITD.  Return true if its urb completed,
  * and hence its completion callback probably added things to the hardware
  * schedule.
  *
Signature · 1 line
1.7.1.rc1.21.gf3bd6
#1 lore raw

This may have been intended, it means if and only if.
http://en.wikipedia.org/wiki/Iff

Quoted 30 lines · Justin P. Mattock

The below patch fixes a typo in a comment.

---
 drivers/usb/host/ehci-sched.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/host/ehci-sched.c +1 -2
index 805ec63..3c170a9 100644
@@ -1662,7 +1662,7 @@ itd_link_urb (
 
  #define        ISO_ERRS (EHCI_ISOC_BUF_ERR | EHCI_ISOC_BABBLE | EHCI_ISOC_XACTERR)
 
-/* Process and recycle a completed ITD.  Return true iff its urb completed,
+/* Process and recycle a completed ITD.  Return true if its urb completed,
  * and hence its completion callback probably added things to the hardware
  * schedule.
  *
--

1.7.1.rc1.21.gf3bd6

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

#2 lore raw
Quoted 3 lines · Andrew Hendry

This may have been intended, it means if and only if.
http://en.wikipedia.org/wiki/Iff

o.k.make sense to me..

Quoted 26 lines
Quoted 24 lines · Justin P. Mattock

The below patch fixes a typo in a comment.

---
  drivers/usb/host/ehci-sched.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/host/ehci-sched.c +1 -2
index 805ec63..3c170a9 100644
@@ -1662,7 +1662,7 @@ itd_link_urb (
 
  #define        ISO_ERRS (EHCI_ISOC_BUF_ERR | EHCI_ISOC_BABBLE | EHCI_ISOC_XACTERR)
 
-/* Process and recycle a completed ITD.  Return true iff its urb completed,
+/* Process and recycle a completed ITD.  Return true if its urb completed,
  * and hence its completion callback probably added things to the hardware
  * schedule.
  *
--

1.7.1.rc1.21.gf3bd6

Quoted 7 lines
Quoted 6 lines

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

cheers,

Justin P. Mattock