
9 Aug
2023
9 Aug
'23
3:40 a.m.
On Thu, Aug 03, 2023 at 01:29:34PM +0300, Dan Carpenter wrote:
The btrfs_decompress() function mostly (u32)-1 on error but it can also return -EPERM or other kernel error codes from zstd_decompress(). The "ret" variable is an int, so we could just check for negatives.
Signed-off-by: Dan Carpenter dan.carpenter@linaro.org Reviewed-by: Qu Wenruo wqu@suse.com
Applied to u-boot/next, thanks!
--
Tom