kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch 4/5] Staging: winbond: checkpatch cleanup
@ 2012-09-26 18:17 Harsh Kumar
  2012-09-28 21:15 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Harsh Kumar @ 2012-09-26 18:17 UTC (permalink / raw)
  To: kernel-janitors

checkpatch cleanup: Corrected wrong placement of a brace and line exceeding 80 characters

Signed-off-by: Harsh Kumar <harsh1kumar@gmail.com>

---
 drivers/staging/winbond/wb35tx.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff -uprN a/drivers/staging/winbond/wb35tx.c b/drivers/staging/winbond/wb35tx.c
--- a/drivers/staging/winbond/wb35tx.c
+++ b/drivers/staging/winbond/wb35tx.c
@@ -135,8 +135,7 @@ unsigned char Wb35Tx_initial(struct hw_d
 		return false;
 
 	pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC);
-	if (!pWb35Tx->Tx2Urb)
-	{
+	if (!pWb35Tx->Tx2Urb) {
 		usb_free_urb(pWb35Tx->Tx4Urb);
 		return false;
 	}
@@ -263,7 +262,8 @@ static void Wb35Tx_EP2VM(struct wbsoft_p
 
 	/* Issuing URB */
 	usb_fill_int_urb(pUrb, pHwData->udev, usb_rcvintpipe(pHwData->udev, 2),
-			  pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete, adapter, 32);
+			 pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete,
+			 adapter, 32);
 
 	pWb35Tx->EP2vm_state = VM_RUNNING;
 	retv = usb_submit_urb(pUrb, GFP_ATOMIC);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch 4/5] Staging: winbond: checkpatch cleanup
  2012-09-26 18:17 [Patch 4/5] Staging: winbond: checkpatch cleanup Harsh Kumar
@ 2012-09-28 21:15 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2012-09-28 21:15 UTC (permalink / raw)
  To: kernel-janitors

On Wed 2012-09-26 23:35:42, Harsh Kumar wrote:
> checkpatch cleanup: Corrected wrong placement of a brace and line exceeding 80 characters
> 
> Signed-off-by: Harsh Kumar <harsh1kumar@gmail.com>

ACK.

> ---
>  drivers/staging/winbond/wb35tx.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff -uprN a/drivers/staging/winbond/wb35tx.c b/drivers/staging/winbond/wb35tx.c
> --- a/drivers/staging/winbond/wb35tx.c
> +++ b/drivers/staging/winbond/wb35tx.c
> @@ -135,8 +135,7 @@ unsigned char Wb35Tx_initial(struct hw_d
>  		return false;
>  
>  	pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC);
> -	if (!pWb35Tx->Tx2Urb)
> -	{
> +	if (!pWb35Tx->Tx2Urb) {
>  		usb_free_urb(pWb35Tx->Tx4Urb);
>  		return false;
>  	}
> @@ -263,7 +262,8 @@ static void Wb35Tx_EP2VM(struct wbsoft_p
>  
>  	/* Issuing URB */
>  	usb_fill_int_urb(pUrb, pHwData->udev, usb_rcvintpipe(pHwData->udev, 2),
> -			  pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete, adapter, 32);
> +			 pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete,
> +			 adapter, 32);
>  
>  	pWb35Tx->EP2vm_state = VM_RUNNING;
>  	retv = usb_submit_urb(pUrb, GFP_ATOMIC);

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-28 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26 18:17 [Patch 4/5] Staging: winbond: checkpatch cleanup Harsh Kumar
2012-09-28 21:15 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).