diff options
author | Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> | 2020-11-12 09:55:59 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-09 22:04:00 +0300 |
commit | a0d9205f7d36bf72279f34a93850fd14789fdc7e (patch) | |
tree | 2ecf1328ba80ceeaf41e7d9554c47eb21b2755ba /tools/perf/scripts/python/sched-migration.py | |
parent | 08369246344077a9cf8109c1cf92a640733314f2 (diff) | |
download | linux-a0d9205f7d36bf72279f34a93850fd14789fdc7e.tar.xz |
io_uring: initialize 'timeout' properly in io_sq_thread()
Some static checker reports below warning:
fs/io_uring.c:6939 io_sq_thread()
error: uninitialized symbol 'timeout'.
This is a false positive, but let's just initialize 'timeout' to make
sure we don't trip over this.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions