* [PATCH] Staging: ! has a higher precedence than &
@ 2008-12-22 16:34 Roel Kluin
0 siblings, 0 replies; 3+ messages in thread
From: Roel Kluin @ 2008-12-22 16:34 UTC (permalink / raw)
To: solomon, Greg KH; +Cc: linux-wireless
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c
index 906ba43..c42cd7f 100644
--- a/drivers/staging/wlan-ng/p80211wext.c
+++ b/drivers/staging/wlan-ng/p80211wext.c
@@ -1580,7 +1580,7 @@ static int p80211wext_set_encodeext(struct net_device *dev,
if ( ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY ) {
- if ( ! ext->alg & IW_ENCODE_ALG_WEP) {
+ if (!(ext->alg & IW_ENCODE_ALG_WEP)) {
WLAN_LOG_DEBUG(1,"asked to set a non wep key :(");
return -EINVAL;
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] Staging: ! has a higher precedence than &
@ 2009-01-04 16:35 Roel Kluin
2009-01-06 0:15 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Roel Kluin @ 2009-01-04 16:35 UTC (permalink / raw)
To: solomon, Greg KH; +Cc: linux-wireless, lkml
! has a higher precedence than &
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
I know checkpatch complains, but all whitespace in this file is like this
diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c
index 906ba43..c42cd7f 100644
--- a/drivers/staging/wlan-ng/p80211wext.c
+++ b/drivers/staging/wlan-ng/p80211wext.c
@@ -1580,7 +1580,7 @@ static int p80211wext_set_encodeext(struct net_device *dev,
if ( ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY ) {
- if ( ! ext->alg & IW_ENCODE_ALG_WEP) {
+ if (!(ext->alg & IW_ENCODE_ALG_WEP)) {
WLAN_LOG_DEBUG(1,"asked to set a non wep key :(");
return -EINVAL;
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Staging: ! has a higher precedence than &
2009-01-04 16:35 Roel Kluin
@ 2009-01-06 0:15 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2009-01-06 0:15 UTC (permalink / raw)
To: Roel Kluin; +Cc: solomon, Greg KH, linux-wireless, lkml
On Sun, Jan 04, 2009 at 05:35:43PM +0100, Roel Kluin wrote:
> ! has a higher precedence than &
Someone already submitted this to me, sorry.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-06 0:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22 16:34 [PATCH] Staging: ! has a higher precedence than & Roel Kluin
-- strict thread matches above, loose matches on Subject: below --
2009-01-04 16:35 Roel Kluin
2009-01-06 0:15 ` Greg KH
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).