]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: sqfs_probe: use sqfs_decompressor_init() return value
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:22 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit6d25bd3e9c1d317cdbd52a4c6bba11f912bb4d6a
tree6ff2b88a0bb2c143a8de165559427c13831fcdac
parent56cf1ceee38435a0c105d40336d12d19e1db8b1d
fs/squashfs: sqfs_probe: use sqfs_decompressor_init() return value

sqfs_decompressor_init() returns a value, so it's better to use it than
to force the return value to EINVAL (it could be ENOMEM)

Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>
Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
fs/squashfs/sqfs.c