diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-03-16 14:51:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 18:02:55 (GMT) |
commit | 815fb010fcba058df43f30fa614cf954dd9e7bcc (patch) | |
tree | aad4f9c90e349c1de4ed24052f0a15ddade7f32d /drivers/staging/nvec/nvec.c | |
parent | b4446865bc367ef3c9db4fe736d40601fd13b900 (diff) | |
download | linux-815fb010fcba058df43f30fa614cf954dd9e7bcc.tar.xz |
staging: nvec: fix the '&&' vs '&' typo in nvec_toggle_global_events()
Fix the '&&' vs '&' typo.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-By: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/nvec/nvec.c')
-rw-r--r-- | drivers/staging/nvec/nvec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index cf15936..a88959f 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c @@ -352,10 +352,10 @@ static void nvec_toggle_global_events(struct nvec_chip *nvec, bool state) */ static void nvec_event_mask(char *ev, u32 mask) { - ev[3] = mask >> 16 && 0xff; - ev[4] = mask >> 24 && 0xff; - ev[5] = mask >> 0 && 0xff; - ev[6] = mask >> 8 && 0xff; + ev[3] = mask >> 16 & 0xff; + ev[4] = mask >> 24 & 0xff; + ev[5] = mask >> 0 & 0xff; + ev[6] = mask >> 8 & 0xff; } /** |