]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/squashfs: sqfs_get_abs_path: fix error check
authorRichard Genoud <richard.genoud@posteo.net>
Tue, 3 Nov 2020 11:11:16 +0000 (12:11 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Nov 2020 14:45:49 +0000 (09:45 -0500)
commit53db0e24a8f981c1e303a1c745b8f0e28544096f
tree94f9ade5b7edf1529b38f6a88b97355f5d7e046a
parentc9b8e86f8bd238421b35ec15d88b4d3cac8a0992
fs/squashfs: sqfs_get_abs_path: fix error check

the return value of sqfs_tokenize(rel_tokens, rc, rel); wasn't checked.
(but "ret" value was !)
This is obviouly a typo.

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