From: Anuj Gupta <anuj20.g@samsung.com>
To: axboe@kernel.dk, asml.silence@gmail.com
Cc: io-uring@vger.kernel.org, Anuj Gupta <anuj20.g@samsung.com>
Subject: [PATCH v1 1/2] io_uring: add new line after variable declaration
Date: Mon, 2 Sep 2024 11:51:33 +0530 [thread overview]
Message-ID: <20240902062134.136387-2-anuj20.g@samsung.com> (raw)
In-Reply-To: <20240902062134.136387-1-anuj20.g@samsung.com>
Fixes checkpatch warning
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
---
io_uring/eventfd.c | 1 +
1 file changed, 1 insertion(+)
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;
}
--
2.25.1
next prev parent reply other threads:[~2024-09-02 6:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20240902062908epcas5p334384250be037fb09463e5093c082b56@epcas5p3.samsung.com>
2024-09-02 6:21 ` [PATCH v1 0/2] cleanup Anuj Gupta
2024-09-02 6:21 ` Anuj Gupta [this message]
2024-09-02 6:21 ` [PATCH v1 2/2] io_uring: remove unused rsrc_put_fn Anuj Gupta
2024-09-02 15:40 ` [PATCH v1 0/2] cleanup Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240902062134.136387-2-anuj20.g@samsung.com \
--to=anuj20.g@samsung.com \
--cc=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox