Re: [PATCH] io_uring: re-issue plug based block requests that failed

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

 



Hi Jens,

with clang-10 I see this new warning in my build-log:

fs/io_uring.c:5958:2: warning: variable 'ret' is used uninitialized
whenever switch default is taken [-Wsometimes-uninitialized]
        default:
        ^~~~~~~
fs/io_uring.c:5972:27: note: uninitialized use occurs here
        io_cqring_add_event(req, ret);
                                 ^~~
fs/io_uring.c:5944:13: note: initialize the variable 'ret' to silence
this warning
        ssize_t ret;
                   ^
                    = 0
1 warning generated.

Thanks.

Regards,
- Sedat -



[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