mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c
@ 2010-03-19 11:57 candyguitar
  2010-04-29 16:21 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: candyguitar @ 2010-03-19 11:57 UTC (permalink / raw)
  To: gregkh, jmm, mithlesh, svenne; +Cc: devel, linux-kernel, Patrick Rooney

From: Candyguitar <candyguitar@candyguitar-laptop.(none)>

This is a patch for p80211req.c. An 'if' statement that spanned 80
characters has been split onto 2 lines and one of the tabs preceding
a comment has been removed.

Signed-off-by: Patrick Rooney <candyguitar@googlemail.com>
---
 drivers/staging/wlan-ng/p80211req.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/p80211req.c b/drivers/staging/wlan-ng/p80211req.c
index c2e95f1..74e2fe4 100644
--- a/drivers/staging/wlan-ng/p80211req.c
+++ b/drivers/staging/wlan-ng/p80211req.c
@@ -108,7 +108,8 @@ int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf)
 	}
 
 	/* Check Permissions */
-	if (!capable(CAP_NET_ADMIN) && (msg->msgcode != DIDmsg_dot11req_mibget)) {
+	if (!capable(CAP_NET_ADMIN) &&
+	(msg->msgcode != DIDmsg_dot11req_mibget)) {
 		printk(KERN_ERR
 		       "%s: only dot11req_mibget allowed for non-root.\n",
 		       wlandev->name);
@@ -129,7 +130,7 @@ int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf)
 		wlandev->mlmerequest(wlandev, msg);
 
 	clear_bit(1, &(wlandev->request_pending));
-	return result;		/* if result==0, msg->status still may contain an err */
+	return result;	/* if result==0, msg->status still may contain an err */
 }
 
 /*----------------------------------------------------------------
-- 
1.6.3.3


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

* Re: [PATCH 1/2] Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c
  2010-03-19 11:57 [PATCH 1/2] Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c candyguitar
@ 2010-04-29 16:21 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-04-29 16:21 UTC (permalink / raw)
  To: candyguitar; +Cc: gregkh, jmm, mithlesh, svenne, devel, linux-kernel

On Fri, Mar 19, 2010 at 11:57:38AM +0000, candyguitar@googlemail.com wrote:
> From: Candyguitar <candyguitar@candyguitar-laptop.(none)>
> 
> This is a patch for p80211req.c. An 'if' statement that spanned 80
> characters has been split onto 2 lines and one of the tabs preceding
> a comment has been removed.
> 
> Signed-off-by: Patrick Rooney <candyguitar@googlemail.com>
> ---
>  drivers/staging/wlan-ng/p80211req.c |    5 +++--

You already submitted this patch, and it's in the tree now, right?

thanks,

greg k-h

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

end of thread, other threads:[~2010-04-30 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-19 11:57 [PATCH 1/2] Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c candyguitar
2010-04-29 16:21 ` Greg KH

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

all inboxes | Powered by JetHome®