diff options
author | Ivo Manca <pinkel@gmail.com> | 2016-05-20 10:31:03 +0200 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2016-05-20 21:35:44 +0100 |
commit | 7c0832ef7e5daca7fff363802058d01fc6da6c86 (patch) | |
tree | 311cc38346f01bf6410753b28d9f7c3f6876acf4 /src/rtos/mqx.c | |
parent | 0849dd71b156a2dd1c5756642a8b7a4747bd3b6b (diff) | |
download | riscv-openocd-7c0832ef7e5daca7fff363802058d01fc6da6c86.zip riscv-openocd-7c0832ef7e5daca7fff363802058d01fc6da6c86.tar.gz riscv-openocd-7c0832ef7e5daca7fff363802058d01fc6da6c86.tar.bz2 |
nand: fix return value
Return ERROR_NAND_DEVICE_NOT_PROBED to prevent calling functions
from segfaulting when nand device has not yet been probed (ie nand
verify)
Change-Id: Ibc4da0aad00e6cc6c83008882b054d981453dc36
Signed-off-by: Ivo Manca <pinkel@gmail.com>
Reviewed-on: http://openocd.zylin.com/3495
Tested-by: jenkins
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/rtos/mqx.c')
0 files changed, 0 insertions, 0 deletions