]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: blk_common: Use macros for the return values
authorBin Meng <bmeng@tinylab.org>
Tue, 26 Sep 2023 08:43:40 +0000 (16:43 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 10 Oct 2023 20:25:48 +0000 (16:25 -0400)
commit8ccc948f4079b291052a509e5da41a27153ffa00
tree53f2e0220c2b6ad14746a5883d2f649a195710d2
parentcf83ff3452ac76ebe882136a7722bf73ea737d3d
cmd: blk_common: Use macros for the return values

Avoid using magic number 0/1 for the command result.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/blk_common.c