diff options
| author | Christoph Hellwig <[email protected]> | 2021-04-08 21:41:40 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-04-12 06:44:24 -0600 |
| commit | d173b65aa75fe8d97bccf429c001633910d20bfb (patch) | |
| tree | 09a5105ae736dab0b18e84af8ca860c7ef05c2dc /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | 40c7fd3fdfba97a18724a0b96d132335fd419e98 (diff) | |
block: initialize ret in bdev_disk_changed
Avoid a potentially initialized variabe in the invalidate case.
Fixes: d3c4a43d9291 ("block: refactor blk_drop_partitions")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions