mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-30 10:55:03 +00:00
[PATCH] fs/compat.c: fix 'if (a |= b )' typo
Mentioned by Mark Armbrust somewhere on Usenet. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Ulrich Drepper <drepper@redhat.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 (sigmask) {
|
||||||
if (sigsetsize |= sizeof(compat_sigset_t))
|
if (sigsetsize != sizeof(compat_sigset_t))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
if (copy_from_user(&ss32, sigmask, sizeof(ss32)))
|
if (copy_from_user(&ss32, sigmask, sizeof(ss32)))
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
|
|
Loading…
Add table
Reference in a new issue