aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-12-16 15:15:51 -0500
committerDavid Sterba <dsterba@suse.com>2023-02-13 17:50:33 +0100
commita6ca692ec22bdac5ae700e82ff575a1b5141fa40 (patch)
tree11b34e3988ea02c6abb48301d786ed5044c2c73d /tools/perf/scripts/python/flamegraph.py
parentbtrfs: zoned: fix uninitialized variable warning in btrfs_get_dev_zones (diff)
downloadlinux-a6ca692ec22bdac5ae700e82ff575a1b5141fa40.tar.gz
linux-a6ca692ec22bdac5ae700e82ff575a1b5141fa40.zip
btrfs: fix uninitialized variable warning in run_one_async_start
With -Wmaybe-uninitialized compiler complains about ret being possibly uninitialized, which isn't possible as the WQ_ constants are set only from our code, however we can handle the default case and get rid of the warning. The value is set to BLK_STS_IOERR so it does not issue any IO and could be potentially detected, but this is basically a "cannot happen" error. To catch any problems during development use the assert. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> [ set the error in default: ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions