The CMD_RET_ERROR does not exist, update it to CMD_RET_FAILURE
which does exist. No functional change, this is a typo fix.

Fixes: 4395f6673901 ("dm: blk: Add a generic function for block device 
commands")
Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Daniel Golle <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
 include/blk.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/blk.h b/include/blk.h
index 2cb9cb31ac2..810b7dfb7d8 100644
--- a/include/blk.h
+++ b/include/blk.h
@@ -748,7 +748,7 @@ const char *blk_get_uclass_name(enum uclass_id uclass_id);
  * @argv: Command arguments
  * @uclass_id: Interface type
  * @cur_devnump: Current device number for this interface type
- * Return: 0 if OK, CMD_RET_ERROR on error
+ * Return: 0 if OK, CMD_RET_FAILURE on error
  */
 int blk_common_cmd(int argc, char *const argv[], enum uclass_id uclass_id,
                   int *cur_devnump);
-- 
2.53.0

Reply via email to