* [PATCH]staging: usbip: Fix typos.
@ 2012-07-30 14:23 Justin P. Mattock
2012-07-30 16:34 ` Sergei Shtylyov
0 siblings, 1 reply; 2+ messages in thread
From: Justin P. Mattock @ 2012-07-30 14:23 UTC (permalink / raw)
To: mfm; +Cc: gregkh, linux-usb, linux-kernel, Justin P. Mattock
From: "Justin P. Mattock" <justinmattock@gmail.com>
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
---
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(-)
diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1d5b3fc..694cfd7 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -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.
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 12a9a5f..dd15dc0 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -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 shuting 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
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH]staging: usbip: Fix typos.
2012-07-30 14:23 [PATCH]staging: usbip: Fix typos Justin P. Mattock
@ 2012-07-30 16:34 ` Sergei Shtylyov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2012-07-30 16:34 UTC (permalink / raw)
To: Justin P. Mattock; +Cc: mfm, gregkh, linux-usb, linux-kernel
Hello.
On 07/30/2012 06:23 PM, Justin P. Mattock wrote:
> From: "Justin P. Mattock" <justinmattock@gmail.com>
> Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
> ---
> The below patch fixes typos found while reading through staging: usbip
Unfortunately, it introduces some new instead. :-)
> diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
> index 12a9a5f..dd15dc0 100644
> --- a/drivers/staging/usbip/vhci_hcd.c
> +++ b/drivers/staging/usbip/vhci_hcd.c
> @@ -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.
Space is needed before "(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 shuting down
Shutting.
WBR, Sergei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-30 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-30 14:23 [PATCH]staging: usbip: Fix typos Justin P. Mattock
2012-07-30 16:34 ` Sergei Shtylyov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox