Commit 1fd5367
io_uring: fix types for region size calulation
->nr_pages is int, it needs type extension before calculating the region
size.
Fixes: a90558b ("io_uring/memmap: helper for pinning region pages")
Signed-off-by: Pavel Begunkov <[email protected]>
[axboe: style fixup]
Signed-off-by: Jens Axboe <[email protected]>1 parent 819630b commit 1fd5367
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments