* [PATCH] Staging: add missing parentheses (in comment)
@ 2010-01-06 22:27 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2010-01-06 22:27 UTC (permalink / raw)
To: Greg Kroah-Hartman, devel, Andrew Morton, LKML
`!' has a higher precedence than `&' so parentheses are required.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
drivers/staging/vt6655/iwctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
I don't know whether anyone cares because this is in comment
diff --git a/drivers/staging/vt6655/iwctl.c b/drivers/staging/vt6655/iwctl.c
index 108830f..78b4983 100644
--- a/drivers/staging/vt6655/iwctl.c
+++ b/drivers/staging/vt6655/iwctl.c
@@ -1472,7 +1472,7 @@ if((wrq->flags & IW_ENCODE_DISABLED)==0){
if ( index < 4 ) {
pDevice->byKeyIndex = index;
}
- else if(!wrq->flags & IW_ENCODE_MODE) {
+ else if(!(wrq->flags & IW_ENCODE_MODE)) {
rc = -EINVAL;
return rc;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-06 22:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-06 22:27 [PATCH] Staging: add missing parentheses (in comment) Roel Kluin
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).