diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-21 20:27:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:51:38 -0800 |
commit | a3379572474aad4d113985682971955ad87c8a37 (patch) | |
tree | 5ad7ee5ae492b129a8420ff1bd32b1c15eff7f94 /drivers/staging/me4000/me4000.c | |
parent | 6e38a2ba79b85966fc09df3eb8f502df5df60c09 (diff) |
staging: correct dubious use of !x & y
Noticed by sparse:
drivers/staging/me4000/me4000.c:1213:43: warning: dubious: !x & y
drivers/staging/wlan-ng/p80211wext.c:1583:21: warning: dubious: !x & y
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/me4000/me4000.c')
-rw-r--r-- | drivers/staging/me4000/me4000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/me4000/me4000.c b/drivers/staging/me4000/me4000.c index 0394e270927..0ac04b7f34b 100644 --- a/drivers/staging/me4000/me4000.c +++ b/drivers/staging/me4000/me4000.c @@ -1180,7 +1180,7 @@ static int me4000_xilinx_download(struct me4000_info *info) /* Wait until /INIT pin is set */ udelay(20); - if (!inl(info->plx_regbase + PLX_INTCSR) & 0x20) { + if (!(inl(info->plx_regbase + PLX_INTCSR) & 0x20)) { printk(KERN_ERR "%s:Can't init Xilinx\n", __func__); return -EIO; } |