Static analyzis set
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | Remove dead assignment to thisfddaemons/ | +0 | 1 reply | |
| 2/23 | Remove dead assignmenttools/ | +0 | 1 reply | |
| 3/23 | Remove dead assigment of mirr_statelib/ | +0 | 1 reply | |
| 4/23 | Remove dead assignment of lock_flagsdaemons/ | +0 | 1 reply | |
| 4/23 | Remove dead assignment of lock_flags | +0 | 2 replies | |
| 5/23 | Remove dead assignment in vgconvert_singletools/ | +1 | 1 reply | |
| 6/23 | Log of pthread_join operationdaemons/ | +7 | 1 reply | |
| 7/23 | Move lastfd handling into for()daemons/ | +6 | 2 replies | |
| 7/23 | Move lastfd handling into for() | +0 | 1 reply | |
| 8/23 | Fix memory leak in error path of restart_clvmddaemons/ | +1 | 0 replies | |
| 9/23 | Add test for errors in _setup_tasklib/ | +11 | 2 replies | |
| 9/23 | Add test for errors in _setup_task | +0 | 1 reply | |
| 10/23 | Fix memory leak of dev_filter on error pathlib/ lib/ | +17 | 2 replies | |
| 10/23 | Fix memory leak of dev_filter on error path | +0 | 1 reply | |
| 11/23 | Add stack traces for archivelib/ | +6 | 0 replies | |
| 12/23 | Add tests for dm_task_set operationsdaemons/ | +15 | 0 replies | |
| 13/23 | Make it obvious this code is not usedlib/ | +2 | 0 replies | |
| 14/23 | Add stack trace for backup and backup_removelib/ tools/ | +6 | 0 replies | |
| 15/23 | Add test check for find_config_strlib/ | +2 | 2 replies | |
| 15/23 | Add test check for find_config_str | +0 | 1 reply | |
| 16/23 | Remove check for vg != NULLlib/ | +6 | 0 replies | |
| 17/23 | Add check for dm_snprintf resultlib/ lib/ | +20 | 1 reply | |
| 17/23 | Add check for dm_snprintf result | +0 | 1 reply | |
| 18/23 | Return PERCENT_INVALID for error caselib/ | +9 | 2 replies | |
| 19/23 | Warning - dead code problem eliminationdaemons/ | +1 | 3 replies | |
| 20/23 | exit if lvmchache_init failstools/ | +2 | 1 reply | |
| 21/23 | Add default error path for get_propertyliblvm/ | +4 | 1 reply | |
| 22/23 | Remove dead assignment in dm_event_get_registered_devicedaemons/ | +7 | 1 reply | |
| 23/23 | Remove dead assignment in vg_split_mdaslib/ | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/23] Static analyzis set
This is mostly the last bigger patch sets for covering issues reported by Coverity tool.
Few patches needs some closer looking,
Most of them are trivial, but as they may present some forgotten tests or missing code I'm posting them for review.
Zdenek Kabelac (23):
Remove dead assignment to thisfd
Remove dead assignment
Remove dead assigment of mirr_state
Remove dead assignment of lock_flags
Remove dead assignment in vgconvert_single
Log of pthread_join operation
Move lastfd handling into for()
Fix memory leak in error path of restart_clvmd Add test for errors in _setup_task
Fix memory leak of dev_filter on error path
Add stack traces for archive
Add tests for dm_task_set operations
Make it obvious this code is not used
Add stack trace for backup and backup_remove Add test check for find_config_str
Remove check for vg != NULL
Add check for dm_snprintf result
Return PERCENT_INVALID for error case
Warning - dead code problem elimination
exit if lvmchache_init fails
Add default error path for get_property
Remove dead assignment in dm_event_get_registered_device Remove dead assignment in vg_split_mdas
daemons/clvmd/clvmd-command.c | 3 +- daemons/clvmd/clvmd.c | 25 ++++++++++--------- daemons/dmeventd/dmeventd.c | 3 +- daemons/dmeventd/libdevmapper-event.c | 41 +++++++++++++++++--------------- lib/activate/dev_manager.c | 21 ++++++++++------ lib/commands/toolcontext.c | 2 + lib/filters/filter-persistent.c | 22 ++++++++++++----- lib/format_text/archiver.c | 9 +++++-- lib/format_text/import_vsn1.c | 18 ++++++-------- lib/locking/cluster_locking.c | 14 ++++++----- lib/locking/file_locking.c | 16 +++++++++--- lib/metadata/metadata.c | 8 +++--- lib/mirror/mirrored.c | 3 -- lib/report/properties.c | 15 +++++++----- liblvm/lvm_misc.c | 4 +++ tools/lvscan.c | 6 ----- tools/polldaemon.c | 3 +- tools/vgconvert.c | 4 +-- tools/vgrename.c | 6 +++- 19 files changed, 125 insertions(+), 98 deletions(-)
--
1.7.3.4