Skip to contentSkip to conversation

fs: timerfd.c: fix build error

PATCH In review Cong Ding 2 participants 2 messages Jan 18, 2013 – Jan 19, 2013

Subsystems (2)
lore
Share & tools
lore

Cong Ding

author
#0 lore raw

PATCH 1/1 fs: timerfd.c: fix build error

Invalid number of parentheses if macro COMPAT is defined

---
 fs/timerfd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/timerfd.c +1 -1
index 14ad4f3..0e606b1 100644
@@ -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
maintainer
#1 lore raw
Quoted 1 line · Cong Ding

Invalid number of parentheses if macro COMPAT is defined

Thanks; folded.