Skip to content

Commit 0d60b11

Browse files
Zhang Qilonggregkh
authored andcommitted
eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
[ Upstream commit fd4e60b ] Commit ee62c6b ("eventfd: change int to __u64 in eventfd_signal()") forgot to change int to __u64 in the CONFIG_EVENTFD=n stub function. Link: https://lkml.kernel.org/r/20221124140154.104680-1-zhangqilong3@huawei.com Fixes: ee62c6b ("eventfd: change int to __u64 in eventfd_signal()") Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Cc: Dylan Yudaken <dylany@fb.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Sha Zhengju <handai.szj@taobao.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 2f5cc7f commit 0d60b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/eventfd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static inline struct eventfd_ctx *eventfd_ctx_fdget(int fd)
6161
return ERR_PTR(-ENOSYS);
6262
}
6363

64-
static inline int eventfd_signal(struct eventfd_ctx *ctx, int n)
64+
static inline int eventfd_signal(struct eventfd_ctx *ctx, __u64 n)
6565
{
6666
return -ENOSYS;
6767
}

0 commit comments

Comments
 (0)