lkml.org 
[lkml]   [2023]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] io_uring: initialize count variable to 0
Date

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



\
 
 \ /
  Last update: 2023-03-26 23:54    [W:0.087 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site