Re: [PATCH] io_uring: initialize count variable to 0

From: Jens Axboe
Date: Tue Jan 24 2023 - 09:11:23 EST



On Tue, 24 Jan 2023 04:58:05 -0800, Tom Rix wrote:
> The clang build fails with
> io_uring/io_uring.c:1240:3: error: variable 'count' is uninitialized
> when used here [-Werror,-Wuninitialized]
> count += handle_tw_list(node, &ctx, &uring_locked, &fake);
> ^~~~~
>
> The commit listed in the fixes: removed the initialization of count.
>
> [...]

Applied, thanks!

[1/1] io_uring: initialize count variable to 0
commit: 7a9e93db01f44a8d084c93648981cbc1535a734d

Best regards,
--
Jens Axboe