fs: btrfs: coverity fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | fs: btrfs: inode: handle uninitialized type before returning itfs/ | +5 | 2 replies | |
| 2/4 | fs: btrfs: volumes: prevent overflow for multiplyingfs/ | +2 | 2 replies | |
| 2/4 | fs: btrfs: volumes: prevent overflow for multiplying | +0 | 1 reply | |
| 3/4 | fs: btrfs: initialize @ret to 0 to prevent uninitialized return valuefs/ | +1 | 2 replies | |
| 4/4 | fs: btrfs: initialize @ii in show_dir() to make coverity happyfs/ | +1 | 1 reply | |
| 4/4 | fs: btrfs: initialize @ii in show_dir() to make coverity happy | +0 | 2 replies | |
| 4/4 | fs: btrfs: initialize @ii in show_dir() to make coverity happy | +0 | 0 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Marek Beh?n |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 2/4 | |
| 3/4 | R-b |
| 4/4 | |
| 4/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] fs: btrfs: coverity fixes
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(-)
Signature · 1 line
2.29.1