diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-11-22 09:47:07 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-25 08:42:49 +0100 |
commit | 47ce6c75b5176ea642f0d38042aaffcc0fd1ee20 (patch) | |
tree | dfff6aaca20613423365c4fa9191e1fbed7fe935 /include | |
parent | db23ff0e450ef028af2aab49abce0d2947dc0e86 (diff) | |
download | barebox-47ce6c75b5176ea642f0d38042aaffcc0fd1ee20.tar.gz barebox-47ce6c75b5176ea642f0d38042aaffcc0fd1ee20.tar.xz |
hw_random: stm32: propagate error codes from rng read
len is never decremented, so ret won't ever be returned, fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20211122084732.2597109-6-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions