Re: [PATCH v1] io_uring: suppress an unused warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu Mar 9, 2023 at 1:47 PM CET, Vincenzo Palazzo wrote:
> suppress unused warnings and fix the error that there is
> with the W=1 enabled.
>
> Warning generated
>
> io_uring/io_uring.c: In function ‘__io_submit_flush_completions’:
> io_uring/io_uring.c:1502:40: error: variable ‘prev’ set but not used [-Werror=unused-but-set-variable]
>  1502 |         struct io_wq_work_node *node, *prev;
>
> Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@xxxxxxxxx>
Please ignore this patch I just send the wrong v1.

I fixed the mistake in the v2

Cheers!

Vincent.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux