diff options
author | 2021-06-15 13:20:13 +0100 | |
---|---|---|
committer | 2021-06-15 15:40:17 -0600 | |
commit | 27f6b318dea2d7ccccc9dca416e59431838c2929 (patch) | |
tree | 3ffe0b553b7a5e3163dd755042dc2d7bae721c6d /tools/perf/scripts/python/stackcollapse.py | |
parent | io_uring: Fix comment of io_get_sqe (diff) | |
download | wireguard-linux-27f6b318dea2d7ccccc9dca416e59431838c2929.tar.xz wireguard-linux-27f6b318dea2d7ccccc9dca416e59431838c2929.zip |
io_uring: fix min types mismatch in table alloc
fs/io_uring.c: In function 'io_alloc_page_table':
include/linux/minmax.h:20:28: warning: comparison of distinct pointer
types lacks a cast
Cast everything to size_t using min_t.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 9123c8ffce16 ("io_uring: add helpers for 2 level table alloc")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/50f420a956bca070a43810d4a805293ed54f39d8.1623759527.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions