diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-09-02 12:04:58 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-09-13 12:07:55 +0200 |
commit | 31b8b7254f2bfd8dd03522dee50a92cbf44a448d (patch) | |
tree | 3bb12fa7a330ccfbf7897945766fa852a423c527 /test | |
parent | 579a72e317362ca2e1d4d9692c1b082c535203b5 (diff) | |
download | barebox-31b8b7254f2bfd8dd03522dee50a92cbf44a448d.tar.gz |
commands: mm: don't ignore pread() errors for larger access sizes
Error check was before pread was called and because ret was initialized,
compiler didn't warn about it. Fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220902100458.2597350-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions