linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard
@ 2017-02-07 12:06 Maksymilian Piechota
  2017-02-07 12:07 ` [PATCH v5 1/3] staging: wlan-ng: move logical continuations at the end of line Maksymilian Piechota
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Maksymilian Piechota @ 2017-02-07 12:06 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: maksymilian.piechota, linux-kernel, devel

Patch version 5:
- break up particular changes to separate commits
- change prefix to proper driver (wlan-ng)

Maksymilian Piechota (3):
  staging: wlan-ng: move logical continuations at the end of line
  staging: wlan-ng: move else if statement to a single line
  staging: wlan-ng: realign else if continuation

 drivers/staging/wlan-ng/prism2mgmt.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

-- 
2.1.4

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

* [PATCH v5 1/3] staging: wlan-ng: move logical continuations at the end of line
  2017-02-07 12:06 [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Maksymilian Piechota
@ 2017-02-07 12:07 ` Maksymilian Piechota
  2017-02-09 12:11   ` Greg Kroah-Hartman
  2017-02-07 12:09 ` [PATCH v5 2/3] staging: wlan-ng: move else if statement to a single line Maksymilian Piechota
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Maksymilian Piechota @ 2017-02-07 12:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: maksymilian.piechota, linux-kernel, devel

Signed-off-by: Maksymilian Piechota <maksymilianpiechota@gmail.com>
---
 drivers/staging/wlan-ng/prism2mgmt.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
index 16fb2d3..64a9ebc 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -1308,9 +1308,8 @@ int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp)
 			hw->sniffhdr = 0;
 			wlandev->netdev->type = ARPHRD_IEEE80211_PRISM;
 		} else
-		    if ((msg->wlanheader.status ==
-			 P80211ENUM_msgitem_status_data_ok)
-			&& (msg->wlanheader.data == P80211ENUM_truth_true)) {
+		    if ((msg->wlanheader.status == P80211ENUM_msgitem_status_data_ok) && 
+			(msg->wlanheader.data == P80211ENUM_truth_true)) {
 			hw->sniffhdr = 1;
 			wlandev->netdev->type = ARPHRD_IEEE80211_PRISM;
 		} else {
-- 
2.1.4

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

* [PATCH v5 2/3] staging: wlan-ng: move else if statement to a single line
  2017-02-07 12:06 [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Maksymilian Piechota
  2017-02-07 12:07 ` [PATCH v5 1/3] staging: wlan-ng: move logical continuations at the end of line Maksymilian Piechota
@ 2017-02-07 12:09 ` Maksymilian Piechota
  2017-02-07 12:09 ` [PATCH v5 3/3] staging: wlan-ng: realign else if continuation Maksymilian Piechota
  2017-02-09 12:11 ` [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Greg Kroah-Hartman
  3 siblings, 0 replies; 6+ messages in thread
From: Maksymilian Piechota @ 2017-02-07 12:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: maksymilian.piechota, linux-kernel, devel

Signed-off-by: Maksymilian Piechota <maksymilianpiechota@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 64a9ebc..af83f2a 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 == P80211ENUM_msgitem_status_data_ok) && 
+		} else if ((msg->wlanheader.status == P80211ENUM_msgitem_status_data_ok) &&
 			(msg->wlanheader.data == P80211ENUM_truth_true)) {
 			hw->sniffhdr = 1;
 			wlandev->netdev->type = ARPHRD_IEEE80211_PRISM;
-- 
2.1.4

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

* [PATCH v5 3/3] staging: wlan-ng: realign else if continuation
  2017-02-07 12:06 [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Maksymilian Piechota
  2017-02-07 12:07 ` [PATCH v5 1/3] staging: wlan-ng: move logical continuations at the end of line Maksymilian Piechota
  2017-02-07 12:09 ` [PATCH v5 2/3] staging: wlan-ng: move else if statement to a single line Maksymilian Piechota
@ 2017-02-07 12:09 ` Maksymilian Piechota
  2017-02-09 12:11 ` [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Greg Kroah-Hartman
  3 siblings, 0 replies; 6+ messages in thread
From: Maksymilian Piechota @ 2017-02-07 12:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: maksymilian.piechota, linux-kernel, devel

Signed-off-by: Maksymilian Piechota <maksymilianpiechota@gmail.com>
---
 drivers/staging/wlan-ng/prism2mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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

* Re: [PATCH v5 1/3] staging: wlan-ng: move logical continuations at the end of line
  2017-02-07 12:07 ` [PATCH v5 1/3] staging: wlan-ng: move logical continuations at the end of line Maksymilian Piechota
@ 2017-02-09 12:11   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 6+ messages in thread
From: Greg Kroah-Hartman @ 2017-02-09 12:11 UTC (permalink / raw)
  To: Maksymilian Piechota; +Cc: devel, maksymilian.piechota, linux-kernel

On Tue, Feb 07, 2017 at 07:07:59AM -0500, Maksymilian Piechota wrote:
> Signed-off-by: Maksymilian Piechota <maksymilianpiechota@gmail.com>
> ---
>  drivers/staging/wlan-ng/prism2mgmt.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

I can not take patches without any changelog text, sorry.  Please fix up
and resend the whole series.

greg k-h

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

* Re: [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard
  2017-02-07 12:06 [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Maksymilian Piechota
                   ` (2 preceding siblings ...)
  2017-02-07 12:09 ` [PATCH v5 3/3] staging: wlan-ng: realign else if continuation Maksymilian Piechota
@ 2017-02-09 12:11 ` Greg Kroah-Hartman
  3 siblings, 0 replies; 6+ messages in thread
From: Greg Kroah-Hartman @ 2017-02-09 12:11 UTC (permalink / raw)
  To: Maksymilian Piechota; +Cc: devel, maksymilian.piechota, linux-kernel

On Tue, Feb 07, 2017 at 07:06:12AM -0500, Maksymilian Piechota wrote:
> Patch version 5:
> - break up particular changes to separate commits
> - change prefix to proper driver (wlan-ng)

What changed in the previous 4 versions?

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

end of thread, other threads:[~2017-02-09 12:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-07 12:06 [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Maksymilian Piechota
2017-02-07 12:07 ` [PATCH v5 1/3] staging: wlan-ng: move logical continuations at the end of line Maksymilian Piechota
2017-02-09 12:11   ` Greg Kroah-Hartman
2017-02-07 12:09 ` [PATCH v5 2/3] staging: wlan-ng: move else if statement to a single line Maksymilian Piechota
2017-02-07 12:09 ` [PATCH v5 3/3] staging: wlan-ng: realign else if continuation Maksymilian Piechota
2017-02-09 12:11 ` [PATCH v5 0/3] staging: wlan-ng: align else if statement to coding standard Greg Kroah-Hartman

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).