diff options
author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2024-03-01 17:43:48 +0300 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-27 01:20:04 +0300 |
commit | f263cf1626b551307550c220c0111b166966bc18 (patch) | |
tree | f4c82d2aa638863fa0756a903328ae05a57eac79 /drivers/comedi | |
parent | 7ca651b4ec4a049f5a46a0e5ff921b86b91c47c5 (diff) | |
download | linux-f263cf1626b551307550c220c0111b166966bc18.tar.xz |
io_uring/net: correct the type of variable
[ Upstream commit 86bcacc957fc2d0403aa0e652757eec59a5fd7ca ]
The namelen is of type int. It shouldn't be made size_t which is
unsigned. The signed number is needed for error checking before use.
Fixes: c55978024d12 ("io_uring/net: move receive multishot out of the generic msghdr path")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20240301144349.2807544-1-usama.anjum@collabora.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions