mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] fs/compat.c: fix 'if (a |= b )' typo
Mentioned by Mark Armbrust somewhere on Usenet. Signed-off-by: Alexey Dobriyan <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Ulrich Drepper <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
bb53a76116
commit
3835a9bd07
1 changed files with 1 additions and 1 deletions
|
|
@ -1913,7 +1913,7 @@ asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
|
|||
}
|
||||
|
||||
if (sigmask) {
|
||||
if (sigsetsize |= sizeof(compat_sigset_t))
|
||||
if (sigsetsize != sizeof(compat_sigset_t))
|
||||
return -EINVAL;
|
||||
if (copy_from_user(&ss32, sigmask, sizeof(ss32)))
|
||||
return -EFAULT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue