mbox series

[0/4] fs: btrfs: coverity fixes

Message ID 20201031010752.23974-1-wqu@suse.com
Headers show
Series fs: btrfs: coverity fixes | expand

Message

Qu Wenruo Oct. 31, 2020, 1:07 a.m. UTC
Most of the coverity reports are at least a good hint to us to improve
the code style.
Although there are some false alerts, but it's really hard to teach
coverity to be a real human (yet), thus fix the warning even it's just
false alerts.

Qu Wenruo (4):
  fs: btrfs: inode: handle uninitialized type before returning it
  fs: btrfs: volumes: prevent overflow for multiplying
  fs: btrfs: initialize @ret to 0 to prevent uninitialized return value
  fs: btrfs: initialize @ii in show_dir() to make coverity happy

 fs/btrfs/btrfs.c   | 4 ++--
 fs/btrfs/inode.c   | 6 +++++-
 fs/btrfs/volumes.c | 4 ++--
 3 files changed, 9 insertions(+), 5 deletions(-)