fs: timerfd.c: fix build error
Subsystems (2)
PATCH 1/1 fs: timerfd.c: fix build error
Invalid number of parentheses if macro COMPAT is defined
Signed-off-by Cong Ding <[email protected]>
--- fs/timerfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/timerfd.c +1 -1
@@ -396,7 +396,7 @@ COMPAT_SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags, ret =do_timerfd_settime (ufd, flags, &new, &old);if (ret)return ret; - if (otmr && put_compat_itimerspec(otmr, &old) +if (otmr &&put_compat_itimerspec (otmr, &old))return -EFAULT ;return ret; }
Signature · 1 line
1.7.10.4
Al Viro
maintainerQuoted 1 line · Cong Ding
Invalid number of parentheses if macro COMPAT is defined
Thanks; folded.