* [PATCH] fs: timerfd.c: fix build error
@ 2013-01-18 21:52 Cong Ding
2013-01-19 6:02 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: Cong Ding @ 2013-01-18 21:52 UTC (permalink / raw)
To: Thomas Gleixner, Alexander Viro, linux-fsdevel, linux-kernel; +Cc: Cong Ding
Invalid number of parentheses if macro COMPAT is defined
Signed-off-by: Cong Ding <dinggnu@gmail.com>
---
fs/timerfd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/timerfd.c b/fs/timerfd.c
index 14ad4f3..0e606b1 100644
--- a/fs/timerfd.c
+++ b/fs/timerfd.c
@@ -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;
}
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fs: timerfd.c: fix build error
2013-01-18 21:52 [PATCH] fs: timerfd.c: fix build error Cong Ding
@ 2013-01-19 6:02 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2013-01-19 6:02 UTC (permalink / raw)
To: Cong Ding; +Cc: Thomas Gleixner, linux-fsdevel, linux-kernel
On Fri, Jan 18, 2013 at 10:52:52PM +0100, Cong Ding wrote:
> Invalid number of parentheses if macro COMPAT is defined
Thanks; folded.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-19 6:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18 21:52 [PATCH] fs: timerfd.c: fix build error Cong Ding
2013-01-19 6:02 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).