lkml.org 
[lkml]   [2022]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] io_uring: fix a typo in comment
Date
From: Xinghui Li <korantli@tencent.com>

fix a typo in comment in io_allocate_scq_urings.
sane -> same.

Signed-off-by: Xinghui Li <korantli@tencent.com>
---
fs/io_uring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/io_uring.c b/fs/io_uring.c
index d3ee4fc532fa..af17adf3fa79 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -12284,7 +12284,7 @@ static __cold int io_allocate_scq_urings(struct io_ring_ctx *ctx,
struct io_rings *rings;
size_t size, sq_array_offset;

- /* make sure these are sane, as we already accounted them */
+ /* make sure these are same, as we already accounted them */
ctx->sq_entries = p->sq_entries;
ctx->cq_entries = p->cq_entries;

--
2.36.1
\
 
 \ /
  Last update: 2022-06-29 16:43    [W:0.046 / U:2.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site