aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Schaefer <thomas.schaefer@kontron.com>2020-06-16 22:03:52 +0200
committerTom Rini <trini@konsulko.com>2020-07-17 08:51:01 -0400
commitea5003ad66b2c42d57496cbdf75218d0e15e41a5 (patch)
tree6619e1b515d91c74d2c6aa88610384f013daeaad /scripts
parent9b83f9c594af6033dd507c3ecad1231421063949 (diff)
downloadu-boot-ea5003ad66b2c42d57496cbdf75218d0e15e41a5.zip
u-boot-ea5003ad66b2c42d57496cbdf75218d0e15e41a5.tar.gz
u-boot-ea5003ad66b2c42d57496cbdf75218d0e15e41a5.tar.bz2
spl: fix ext4fs_mount return code handling
- Despite other ext4 filesystem functions, ext4fs_mount returns 0 in case of error. - This leads to u-boot crash in case that an SD card with valid partition table but without ext4 filesystem created in a partition is found on SD card. - Fix this by returning a proper error code of '-1' from spl_load_image_ext function in case of ext4fs_mount error. Signed-off-by: Thomas Schaefer <thomas.schaefer@kontron.com> [hthiery: slightly reword the commit message] Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions