dm vdo: slight cleanup of UDS error codes
authorMike Snitzer <snitzer@kernel.org>
Sat, 27 Jan 2024 02:42:27 +0000 (21:42 -0500)
committerMike Snitzer <snitzer@kernel.org>
Tue, 20 Feb 2024 18:43:17 +0000 (13:43 -0500)
commit86492a3f698de5d66777ba18e06e030cb2c5cf9a
treed4e8fd8ec1f7c42b3a1875be499b2dcac91e66f4
parentb06d5c37b88b97359e98820eecae99e243512c1b
dm vdo: slight cleanup of UDS error codes

No need to increment each UDS_ error code manually (relative to
UDS_ERROR_CODE_BASE).

Also, remove unused PRP_BLOCK_START and PRP_BLOCK_END.

Lastly, UDS_SUCCESS and VDO_SUCCESS are used interchangeably; so best
to explicitly set VDO_SUCCESS equal to UDS_SUCCESS.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
drivers/md/dm-vdo/errors.h
drivers/md/dm-vdo/status-codes.h