]> git.sur5r.net Git - openocd/commit
Change return value on error.
authorMathias K <kesmtp@freenet.de>
Fri, 16 Dec 2011 06:48:39 +0000 (07:48 +0100)
committerØyvind Harboe <oyvindharboe@gmail.com>
Wed, 4 Jan 2012 17:56:46 +0000 (17:56 +0000)
commit16b6b5e7a86353dbc0c4823fe3d772c0faca7c1c
tree4950e26d07d60b16b3223e085227c583418c2ef8
parent42cb62cf3b47b982d6444948b483f9c6ce32de05
Change return value on error.

On wrong parameters a error is signalized to the calling function.

Change-Id: I484443fdb39938e20382edc9246d5ec546a5c960
Signed-off-by: Mathias K <kesmtp@freenet.de>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/282
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
50 files changed:
src/flash/nand/davinci.c
src/flash/nand/lpc3180.c
src/flash/nand/lpc32xx.c
src/flash/nand/mx3.c
src/flash/nand/orion.c
src/flash/nor/at91sam3.c
src/flash/nor/at91sam7.c
src/flash/nor/avrf.c
src/flash/nor/cfi.c
src/flash/nor/ecos.c
src/flash/nor/em357.c
src/flash/nor/faux.c
src/flash/nor/fm3.c
src/flash/nor/kinetis.c
src/flash/nor/lpc2000.c
src/flash/nor/lpc288x.c
src/flash/nor/lpc2900.c
src/flash/nor/ocl.c
src/flash/nor/pic32mx.c
src/flash/nor/stellaris.c
src/flash/nor/stm32f1x.c
src/flash/nor/stm32f2x.c
src/flash/nor/stm32lx.c
src/flash/nor/stmsmi.c
src/flash/nor/str7x.c
src/flash/nor/str9x.c
src/flash/nor/str9xpec.c
src/flash/nor/tms470.c
src/flash/nor/virtual.c
src/hello.c
src/helper/ioutil.c
src/jtag/drivers/at91rm9200.c
src/jtag/drivers/buspirate.c
src/jtag/drivers/ft2232.c
src/jtag/drivers/parport.c
src/jtag/drivers/presto.c
src/jtag/drivers/ulink.c
src/jtag/drivers/vsllink.c
src/pld/pld.c
src/pld/virtex2.c
src/target/arm920t.c
src/target/armv4_5.c
src/target/etm.c
src/target/mips32.c
src/target/mips_m4k.c
src/target/oocd_trace.c
src/target/target.c
src/target/target_request.c
src/target/xscale.c
src/xsvf/xsvf.c