public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: wlan-ng: fix checkpatch.pl code style warnings
@ 2017-03-11 20:39 Andrii
  2017-03-12 14:16 ` Greg KH
  2017-03-12 15:30 ` [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl Andrii
  0 siblings, 2 replies; 7+ messages in thread
From: Andrii @ 2017-03-11 20:39 UTC (permalink / raw)
  To: gregkh; +Cc: sergio.paracuellos, devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]

Fixed code style warnings reported by checkpatch.pl script.

Signed-off-by: Andrii Vladyka <tulup@mail.ru> 

[-- Attachment #2: hfa384x_usb.patch --]
[-- Type: text/x-patch, Size: 710 bytes --]

diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 6134eba..d7d2d13 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -1346,14 +1346,10 @@ hfa384x_docmd(struct hfa384x *hw,
 	} else if (mode == DOWAIT) {
 		struct usbctlx_cmd_completor completor;
 
-		result =
-		    hfa384x_usbctlx_complete_sync(hw, ctlx,
-						  init_cmd_completor(&completor,
-								     &ctlx->
-								     inbuf.
-								     cmdresp,
-								     &cmd->
-								     result));
+		result = hfa384x_usbctlx_complete_sync(hw, ctlx,
+						init_cmd_completor(&completor,
+							&ctlx->inbuf.cmdresp,
+							&cmd->result));
 	}
 
 done:

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

end of thread, other threads:[~2017-03-29  7:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-11 20:39 [PATCH] staging: wlan-ng: fix checkpatch.pl code style warnings Andrii
2017-03-12 14:16 ` Greg KH
2017-03-12 15:30 ` [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl Andrii
2017-03-12 15:42   ` Greg KH
2017-03-12 15:47     ` Andrii
2017-03-12 16:24       ` Greg KH
2017-03-29  7:32   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox