projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amd/display: Implement bounds check for stream encoder creation in DCN301
[platform/kernel/linux-starfive.git]
/
io_uring
/
io_uring.c
diff --git
a/io_uring/io_uring.c
b/io_uring/io_uring.c
index
1cc4c7b
..
ea772a0
100644
(file)
--- a/
io_uring/io_uring.c
+++ b/
io_uring/io_uring.c
@@
-1339,7
+1339,7
@@
static inline void io_req_local_work_add(struct io_kiocb *req, unsigned flags)
nr_tw = nr_tw_prev + 1;
/* Large enough to fail the nr_wait comparison below */
if (!(flags & IOU_F_TWQ_LAZY_WAKE))
- nr_tw =
-1U
;
+ nr_tw =
INT_MAX
;
req->nr_tw = nr_tw;
req->io_task_work.node.next = first;