Clean up code to consistently return and check for appropriate return values, usually VDO_SUCCESS. Matthew Sakai (2): dm vdo errors: remove unused error codes dm vdo indexer: update ASSERT and ASSERT_LOG_ONLY usage Mike Snitzer (8): dm vdo memory-alloc: return VDO_SUCCESS on success dm vdo: check for VDO_SUCCESS return value from memory-alloc functions dm vdo int-map: return VDO_SUCCESS on success dm vdo thread-utils: return VDO_SUCCESS on vdo_create_thread success dm-vdo funnel-workqueue: return VDO_SUCCESS from make_simple_work_queue dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS dm vdo encodings: update some stale comments dm vdo target: eliminate inappropriate uses of UDS_SUCCESS drivers/md/dm-vdo/action-manager.c | 8 +- drivers/md/dm-vdo/block-map.c | 128 +++++++------- drivers/md/dm-vdo/completion.c | 10 +- drivers/md/dm-vdo/completion.h | 6 +- drivers/md/dm-vdo/data-vio.c | 110 ++++++------ drivers/md/dm-vdo/data-vio.h | 68 ++++---- drivers/md/dm-vdo/dedupe.c | 165 +++++++++--------- drivers/md/dm-vdo/dm-vdo-target.c | 70 ++++---- drivers/md/dm-vdo/encodings.c | 162 +++++++++-------- drivers/md/dm-vdo/errors.c | 9 +- drivers/md/dm-vdo/errors.h | 13 +- drivers/md/dm-vdo/flush.c | 22 +-- drivers/md/dm-vdo/funnel-queue.c | 2 +- drivers/md/dm-vdo/funnel-workqueue.c | 30 ++-- drivers/md/dm-vdo/indexer/chapter-index.c | 18 +- drivers/md/dm-vdo/indexer/config.c | 18 +- drivers/md/dm-vdo/indexer/delta-index.c | 100 +++++------ .../md/dm-vdo/indexer/funnel-requestqueue.c | 4 +- drivers/md/dm-vdo/indexer/geometry.c | 2 +- drivers/md/dm-vdo/indexer/index-layout.c | 23 +-- drivers/md/dm-vdo/indexer/index-page-map.c | 8 +- drivers/md/dm-vdo/indexer/index-session.c | 14 +- drivers/md/dm-vdo/indexer/index.c | 18 +- drivers/md/dm-vdo/indexer/io-factory.c | 6 +- drivers/md/dm-vdo/indexer/open-chapter.c | 4 +- drivers/md/dm-vdo/indexer/radix-sort.c | 2 +- drivers/md/dm-vdo/indexer/sparse-cache.c | 8 +- drivers/md/dm-vdo/indexer/volume-index.c | 38 ++-- drivers/md/dm-vdo/indexer/volume.c | 48 ++--- drivers/md/dm-vdo/int-map.c | 38 ++-- drivers/md/dm-vdo/io-submitter.c | 12 +- drivers/md/dm-vdo/logical-zone.c | 22 +-- drivers/md/dm-vdo/memory-alloc.c | 36 ++-- drivers/md/dm-vdo/memory-alloc.h | 8 +- drivers/md/dm-vdo/message-stats.c | 2 +- drivers/md/dm-vdo/packer.c | 12 +- drivers/md/dm-vdo/permassert.c | 2 +- drivers/md/dm-vdo/permassert.h | 15 +- drivers/md/dm-vdo/physical-zone.c | 48 ++--- drivers/md/dm-vdo/priority-table.c | 4 +- drivers/md/dm-vdo/recovery-journal.c | 60 +++---- drivers/md/dm-vdo/repair.c | 12 +- drivers/md/dm-vdo/slab-depot.c | 118 ++++++------- drivers/md/dm-vdo/status-codes.c | 10 -- drivers/md/dm-vdo/status-codes.h | 32 +--- drivers/md/dm-vdo/thread-registry.c | 4 +- drivers/md/dm-vdo/thread-utils.c | 4 +- drivers/md/dm-vdo/uds-sysfs.c | 2 +- drivers/md/dm-vdo/vdo.c | 34 ++-- drivers/md/dm-vdo/vio.c | 40 ++--- drivers/md/dm-vdo/vio.h | 8 +- 51 files changed, 794 insertions(+), 843 deletions(-) -- 2.42.0