Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579815 > unrolled thread

[PATCH] Staging: wlan-ng: Fixed code style issue:

Started byBo YU <tsu.yubo@gmail.com>
First post2017-02-13 15:30 +0100
Last post2017-02-14 18:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Staging: wlan-ng: Fixed code style issue: Bo YU <tsu.yubo@gmail.com> - 2017-02-13 15:30 +0100
    Re: [PATCH] Staging: wlan-ng: Fixed code style issue: Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-14 18:20 +0100

#1579815 — [PATCH] Staging: wlan-ng: Fixed code style issue:

FromBo YU <tsu.yubo@gmail.com>
Date2017-02-13 15:30 +0100
Subject[PATCH] Staging: wlan-ng: Fixed code style issue:
Message-ID<tapND-4Q3-19@gated-at.bofh.it>
Statements should start on a tabstop

Signed-off-by: YU Bo <tsu.yubo@gmail.com>
---
  drivers/staging/wlan-ng/prism2mgmt.c |    3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
index c558ad656c49..b641a59052ac 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -1307,8 +1307,7 @@ int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp)
  		    && (msg->prismheader.data == P80211ENUM_truth_true)) {
  			hw->sniffhdr = 0;
  			wlandev->netdev->type = ARPHRD_IEEE80211_PRISM;
-		} else
-		    if ((msg->wlanheader.status ==
+		} else if ((msg->wlanheader.status ==
  			 P80211ENUM_msgitem_status_data_ok)
  			&& (msg->wlanheader.data == P80211ENUM_truth_true)) {
  			hw->sniffhdr = 1;
--
1.7.10.4

[toc] | [next] | [standalone]


#1580701

FromKroah-Hartman <gregkh@linuxfoundation.org>
Date2017-02-14 18:20 +0100
Message-ID<taOVJ-4DR-31@gated-at.bofh.it>
In reply to#1579815
On Mon, Feb 13, 2017 at 09:20:05AM -0500, Bo YU wrote:
> Statements should start on a tabstop
> 
> Signed-off-by: YU Bo <tsu.yubo@gmail.com>
> ---
>  drivers/staging/wlan-ng/prism2mgmt.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Patch does not apply to my tree :(

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web