Skip to content

Commit

Permalink
io_uring: add new line after variable declaration
Browse files Browse the repository at this point in the history
Fixes checkpatch warning

Signed-off-by: Anuj Gupta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Anuj Gupta authored and axboe committed Sep 2, 2024
1 parent 1802656 commit 6cf52b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions io_uring/eventfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6cf52b4

Please sign in to comment.