summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorAnuj Gupta <anuj20.g@samsung.com>2024-09-02 11:51:33 +0530
committerJens Axboe <axboe@kernel.dk>2024-09-02 09:39:57 -0600
commit6cf52b42c4efa4d064d19064fd2313ca4aaf9569 (patch)
tree2ac7deb957d539bccc085239eee1a0e482984570 /io_uring
parent1802656ef8906cc949f58b64cb6d8d400326e163 (diff)
io_uring: add new line after variable declaration
Fixes checkpatch warning Signed-off-by: Anuj Gupta <anuj20.g@samsung.com> Link: https://lore.kernel.org/r/20240902062134.136387-2-anuj20.g@samsung.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/eventfd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/eventfd.c b/io_uring/eventfd.c
index b9384503a2b7..d9836d43725f 100644
--- a/io_uring/eventfd.c
+++ b/io_uring/eventfd.c
@@ -126,6 +126,7 @@ int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg,
ev_fd->cq_ev_fd = eventfd_ctx_fdget(fd);
if (IS_ERR(ev_fd->cq_ev_fd)) {
int ret = PTR_ERR(ev_fd->cq_ev_fd);
+
kfree(ev_fd);
return ret;
}