* [PATCH 1/2] Staging: usbip: Remove trailing spaces.
@ 2011-08-17 19:58 Akshay Joshi
2011-08-17 19:58 ` [PATCH 2/2] Staging: usbip: Fix braces and spaces to match coding style Akshay Joshi
2011-08-21 6:56 ` [PATCH 1/2] Staging: usbip: Remove trailing spaces matt mooney
0 siblings, 2 replies; 4+ messages in thread
From: Akshay Joshi @ 2011-08-17 19:58 UTC (permalink / raw)
To: Matt Mooney, Greg Kroah-Hartman, linux-usb, devel, linux-kernel
Cc: Akshay Joshi
Remove trailing spaces to comply with the kernel coding style.
Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
---
drivers/staging/usbip/stub_dev.c | 4 ++--
drivers/staging/usbip/stub_rx.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c
index fce22f2..1dacdc0 100644
--- a/drivers/staging/usbip/stub_dev.c
+++ b/drivers/staging/usbip/stub_dev.c
@@ -524,11 +524,11 @@ static void stub_disconnect(struct usb_interface *interface)
}
}
-/*
+/*
* Presence of pre_reset and post_reset prevents the driver from being unbound
* when the device is being reset
*/
-
+
int stub_pre_reset(struct usb_interface *interface)
{
dev_dbg(&interface->dev, "pre_reset\n");
diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 538fb9e..1c1957f 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -175,7 +175,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
dev_info(&urb->dev->dev, "usb_queue_reset_device\n");
/*
- * With the implementation of pre_reset and post_reset the driver no
+ * With the implementation of pre_reset and post_reset the driver no
* longer unbinds. This allows the use of synchronous reset.
*/
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] Staging: usbip: Fix braces and spaces to match coding style.
2011-08-17 19:58 [PATCH 1/2] Staging: usbip: Remove trailing spaces Akshay Joshi
@ 2011-08-17 19:58 ` Akshay Joshi
2011-08-21 6:57 ` matt mooney
2011-08-21 6:56 ` [PATCH 1/2] Staging: usbip: Remove trailing spaces matt mooney
1 sibling, 1 reply; 4+ messages in thread
From: Akshay Joshi @ 2011-08-17 19:58 UTC (permalink / raw)
To: Matt Mooney, Greg Kroah-Hartman, linux-usb, devel, linux-kernel
Cc: Akshay Joshi
Fix brace positioning and spaces at the start of lines in order to
comply with the kernel coding style.
Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
---
drivers/staging/usbip/stub_dev.c | 2 +-
drivers/staging/usbip/stub_rx.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c
index 1dacdc0..77d6469 100644
--- a/drivers/staging/usbip/stub_dev.c
+++ b/drivers/staging/usbip/stub_dev.c
@@ -548,4 +548,4 @@ struct usb_driver stub_driver = {
.id_table = stub_table,
.pre_reset = stub_pre_reset,
.post_reset = stub_post_reset,
- };
+};
diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
index 1c1957f..6b4e3e1 100644
--- a/drivers/staging/usbip/stub_rx.c
+++ b/drivers/staging/usbip/stub_rx.c
@@ -179,8 +179,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
* longer unbinds. This allows the use of synchronous reset.
*/
- if (usb_lock_device_for_reset(sdev->udev, sdev->interface)<0)
- {
+ if (usb_lock_device_for_reset(sdev->udev, sdev->interface) < 0) {
dev_err(&urb->dev->dev, "could not obtain lock to reset device\n");
return 0;
}
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] Staging: usbip: Remove trailing spaces.
2011-08-17 19:58 [PATCH 1/2] Staging: usbip: Remove trailing spaces Akshay Joshi
2011-08-17 19:58 ` [PATCH 2/2] Staging: usbip: Fix braces and spaces to match coding style Akshay Joshi
@ 2011-08-21 6:56 ` matt mooney
1 sibling, 0 replies; 4+ messages in thread
From: matt mooney @ 2011-08-21 6:56 UTC (permalink / raw)
To: Akshay Joshi; +Cc: Greg Kroah-Hartman, linux-usb, devel, linux-kernel
On 15:58 Wed 17 Aug , Akshay Joshi wrote:
> Remove trailing spaces to comply with the kernel coding style.
>
> Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
Acked-by: matt mooney <mfm@muteddisk.com>
> ---
> drivers/staging/usbip/stub_dev.c | 4 ++--
> drivers/staging/usbip/stub_rx.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c
> index fce22f2..1dacdc0 100644
> --- a/drivers/staging/usbip/stub_dev.c
> +++ b/drivers/staging/usbip/stub_dev.c
> @@ -524,11 +524,11 @@ static void stub_disconnect(struct usb_interface *interface)
> }
> }
>
> -/*
> +/*
> * Presence of pre_reset and post_reset prevents the driver from being unbound
> * when the device is being reset
> */
> -
> +
> int stub_pre_reset(struct usb_interface *interface)
> {
> dev_dbg(&interface->dev, "pre_reset\n");
> diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
> index 538fb9e..1c1957f 100644
> --- a/drivers/staging/usbip/stub_rx.c
> +++ b/drivers/staging/usbip/stub_rx.c
> @@ -175,7 +175,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
> dev_info(&urb->dev->dev, "usb_queue_reset_device\n");
>
> /*
> - * With the implementation of pre_reset and post_reset the driver no
> + * With the implementation of pre_reset and post_reset the driver no
> * longer unbinds. This allows the use of synchronous reset.
> */
>
> --
> 1.7.5.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] Staging: usbip: Fix braces and spaces to match coding style.
2011-08-17 19:58 ` [PATCH 2/2] Staging: usbip: Fix braces and spaces to match coding style Akshay Joshi
@ 2011-08-21 6:57 ` matt mooney
0 siblings, 0 replies; 4+ messages in thread
From: matt mooney @ 2011-08-21 6:57 UTC (permalink / raw)
To: Akshay Joshi; +Cc: Greg Kroah-Hartman, linux-usb, devel, linux-kernel
On 15:58 Wed 17 Aug , Akshay Joshi wrote:
> Fix brace positioning and spaces at the start of lines in order to
> comply with the kernel coding style.
>
> Signed-off-by: Akshay Joshi <me@akshayjoshi.com>
Acked-by: matt mooney <mfm@muteddisk.com>
> ---
> drivers/staging/usbip/stub_dev.c | 2 +-
> drivers/staging/usbip/stub_rx.c | 3 +--
> 2 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c
> index 1dacdc0..77d6469 100644
> --- a/drivers/staging/usbip/stub_dev.c
> +++ b/drivers/staging/usbip/stub_dev.c
> @@ -548,4 +548,4 @@ struct usb_driver stub_driver = {
> .id_table = stub_table,
> .pre_reset = stub_pre_reset,
> .post_reset = stub_post_reset,
> - };
> +};
> diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
> index 1c1957f..6b4e3e1 100644
> --- a/drivers/staging/usbip/stub_rx.c
> +++ b/drivers/staging/usbip/stub_rx.c
> @@ -179,8 +179,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
> * longer unbinds. This allows the use of synchronous reset.
> */
>
> - if (usb_lock_device_for_reset(sdev->udev, sdev->interface)<0)
> - {
> + if (usb_lock_device_for_reset(sdev->udev, sdev->interface) < 0) {
> dev_err(&urb->dev->dev, "could not obtain lock to reset device\n");
> return 0;
> }
> --
> 1.7.5.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-21 7:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17 19:58 [PATCH 1/2] Staging: usbip: Remove trailing spaces Akshay Joshi
2011-08-17 19:58 ` [PATCH 2/2] Staging: usbip: Fix braces and spaces to match coding style Akshay Joshi
2011-08-21 6:57 ` matt mooney
2011-08-21 6:56 ` [PATCH 1/2] Staging: usbip: Remove trailing spaces matt mooney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox