error handling: the error number is not part of the user interface
commitc69553cbc51770f61cf3b9225d46d058fa2544d0
authorØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 3 Jan 2011 12:30:28 +0000 (3 13:30 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 3 Jan 2011 12:33:27 +0000 (3 13:33 +0100)
tree07aa7f6d5bc1861cc926e2359034ef42f17dc46a
parent1795239cfda77315ea2f4fbc028e7a411d13a7d0
error handling: the error number is not part of the user interface

Do not propagate error number to user. This is for internal
programming purposes only. Error messages to the user is
reported as text via LOG_ERROR().

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
12 files changed:
src/flash/nor/core.c
src/flash/nor/pic32mx.c
src/flash/nor/str7x.c
src/flash/nor/str9x.c
src/flash/nor/tcl.c
src/helper/ioutil.c
src/jtag/core.c
src/jtag/transport.c
src/target/arm11.c
src/target/cortex_m3.c
src/target/etm.c
src/target/xscale.c