]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/block/nand: Have blk_load() take unsigned offset and return boolean
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 8 Apr 2024 08:21:03 +0000 (10:21 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 10 Apr 2024 17:32:12 +0000 (20:32 +0300)
commitab995895adcf30d0be416da281a0bcf3dd3f93a5
tree080e65af808001d941e583ac8249f9aeb12ee040
parent15b41461ea7386005194d79d0736f1975c6301d7
hw/block/nand: Have blk_load() take unsigned offset and return boolean

Negative offset is meaningless, use unsigned type.
Return a boolean value indicating success.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240409135944.24997-3-philmd@linaro.org>
(cherry picked from commit 2e3e09b368001f7eaeeca7a9b49cb1f0c9092d85)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/block/nand.c