]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/net: correct type for min_not_zero() cast
authorJens Axboe <axboe@kernel.dk>
Tue, 2 Sep 2025 11:19:42 +0000 (05:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Sep 2025 11:19:42 +0000 (05:19 -0600)
commit37500634d0a8f931e15879760fb70f9b6f5d5370
treefd8507e47f0fc4970a410012b5b652958ffc29b3
parent4c0b26e23c79ecf934a92b2d9a516bffbb61c3e4
io_uring/net: correct type for min_not_zero() cast

The kernel test robot reports that after a recent change, the signedness
of a min_not_zero() compare is now incorrect. Fix that up and cast to
the right type.

Fixes: 429884ff35f7 ("io_uring/kbuf: use struct io_br_sel for multiple buffers picking")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509020426.WJtrdwOU-lkp@intel.com/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c