From: Anuj Gupta <[email protected]>
To: [email protected], [email protected]
Cc: [email protected], Anuj Gupta <[email protected]>
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: <[email protected]> (raw)
In-Reply-To: <[email protected]>
Fixes checkpatch warning
Signed-off-by: Anuj Gupta <[email protected]>
---
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
[not found] ` <CGME20240902062909epcas5p29fbe563a154702da069dbeb348f8821b@epcas5p2.samsung.com>
2024-09-02 6:21 ` Anuj Gupta [this message]
[not found] ` <CGME20240902062910epcas5p490bdf7aa1ee9f31491c7948de089f220@epcas5p4.samsung.com>
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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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