Skip to contentSkip to conversation

staging "usbip" Fix typos.

PATCH New Justin P. Mattock 1 participant 1 message Aug 6, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging "usbip" Fix typos.

From: "Justin P. Mattock" <[email protected]>

---
NOTE:I see *rc1 in the git web log, so hopefully its ok to send out. The below patch fixes typos found while reading through staging usbip.

 drivers/staging/usbip/stub_rx.c  |    2 +-
 drivers/staging/usbip/vhci_hcd.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/usbip/stub_rx.c +1 -1
index 1d5b3fc..694cfd7 100644
@@ -155,7 +155,7 @@ static int tweak_set_configuration_cmd(struct urb *urb)
 	 * eventually reassigned to the device as far as driver matching
 	 * condition is kept.
 	 *
-	 * Unfortunatelly, an existing usbip connection will be dropped
+	 * Unfortunately, an existing usbip connection will be dropped
 	 * due to this driver unbinding. So, skip here.
 	 * A user may need to set a special configuration value before
 	 * exporting the device.
drivers/staging/usbip/vhci_hcd.c +2 -2
index 12a9a5f..a5b028d 100644
@@ -828,11 +828,11 @@ static void vhci_shutdown_connection(struct usbip_device *ud)
 	 *	disable endpoints. pending urbs are unlinked(dequeued).
 	 *
 	 * NOTE: After calling rh_port_disconnect(), the USB device drivers of a
-	 * deteched device should release used urbs in a cleanup function(i.e.
+	 * detached device should release used urbs in a cleanup function (i.e.
 	 * xxx_disconnect()). Therefore, vhci_hcd does not need to release
 	 * pushed urbs and their private data in this function.
 	 *
-	 * NOTE: vhci_dequeue() must be considered carefully. When shutdowning
+	 * NOTE: vhci_dequeue() must be considered carefully. When shutting down
 	 * a connection, vhci_shutdown_connection() expects vhci_dequeue()
 	 * gives back pushed urbs and frees their private data by request of
 	 * the cleanup function of a USB driver. When unlinking a urb with an
Signature · 1 line
1.7.5.4