All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrii <tulup@mail.ru>
To: gregkh@linuxfoundation.org
Cc: sergio.paracuellos@gmail.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org
Subject: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference  warning reported by checkpatch.pl
Date: Sun, 12 Mar 2017 17:30:09 +0200	[thread overview]
Message-ID: <20170312173009.7d0fc710@andrii-VirtualBox> (raw)
In-Reply-To: <20170311223956.79ded6a2@andrii-VirtualBox>

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

Fixed three code style warnings (multiple line dereference) reported
by checkpatch.pl script.

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

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

diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 6134eba..a050748 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -1346,14 +1346,8 @@ 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:

  parent reply	other threads:[~2017-03-12 15:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Andrii [this message]
2017-03-12 15:42   ` [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl Greg KH
2017-03-12 15:47     ` Andrii
2017-03-12 16:24       ` Greg KH
2017-03-29  7:32   ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170312173009.7d0fc710@andrii-VirtualBox \
    --to=tulup@mail.ru \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sergio.paracuellos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.