mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 15:45:45 +00:00
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>
This commit is contained in:
parent
b4446865bc
commit
815fb010fc
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue