riscv-openocd/src/flash/nor
Alexander Kurz ba7b6ddea4 flash/nor/faux.c: fixing check for failed malloc
Error found by static code analysis using the semantic pattern
null_ref2/mini_null_ref2.cocci, see coccinellery.org

Change-Id: Ic817c29f0ccf2b41fc8f7d9a480ad30d6e5b7ab8
Signed-off-by: Alexander Kurz <akurz@blala.de>
Reviewed-on: http://openocd.zylin.com/3364
Tested-by: jenkins
Reviewed-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-02-29 19:14:24 +00:00
..
Makefile.am niietcm4: support for NIIET's Cortex-M4 microcontrollers 2015-11-26 12:17:25 +00:00
aduc702x.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
aducm360.c flash: Analog Devices ADuCM360 support 2015-09-30 22:12:16 +01:00
at91sam3.c flash/nor/at91sam3: remove sam3_page_write_opcodes 2014-04-08 11:34:53 +00:00
at91sam4.c flash : Add support for Atmel at91sam4sa16b 2015-08-06 13:16:33 +01:00
at91sam4l.c arm_adi_v5: Remove all mem_ap_sel_* functions 2015-12-29 20:31:19 +00:00
at91sam7.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
at91samd.c arm_adi_v5: Remove all mem_ap_sel_* functions 2015-12-29 20:31:19 +00:00
atsamv.c flash: driver for Atmel SAMV, SAMS, and SAME 2015-11-10 20:27:09 +00:00
avrf.c atmega: add support for the at90usb128 flash 2015-03-09 06:25:52 +00:00
cfi.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
cfi.h cfi: support for 16-bit flash with reversed endianness 2016-02-13 23:09:40 +00:00
core.c fix flash bank auto_probe() fail with multiple targets 2013-12-17 23:04:01 +00:00
core.h flash: add padded_value cmd 2013-10-07 19:28:19 +00:00
driver.h flash: Constify write buffer 2014-03-17 12:47:18 +00:00
drivers.c niietcm4: support for NIIET's Cortex-M4 microcontrollers 2015-11-26 12:17:25 +00:00
dsp5680xx_flash.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
efm32.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
em357.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
faux.c flash/nor/faux.c: fixing check for failed malloc 2016-02-29 19:14:24 +00:00
fm3.c flash: constify driver data structures 2014-10-06 11:57:32 +00:00
imp.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
jtagspi.c flash/nor/jtagspi: 'retval' may be used uninitialized 2015-08-19 21:35:10 +01:00
kinetis.c Kinetis: check/switch run mode before flash operation 2016-02-15 19:46:51 +00:00
lpc288x.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
lpc2000.c flash/nor/lpc2000: add alternative part ID for LPC1343 2015-11-26 12:17:54 +00:00
lpc2900.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
lpcspifi.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
mdr.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
mrvlqspi.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
niietcm4.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
non_cfi.c flash/nor/non_cfi.c: cleanup, member double-intialization 2016-02-29 19:09:32 +00:00
non_cfi.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
nrf51.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
numicro.c numicro: Integrate Nuvoton NuMicro flash driver. 2015-09-30 22:12:39 +01:00
ocl.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
ocl.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
pic32mx.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
psoc4.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
sim3x.c arm_adi_v5: dap_queue_ap_* DAP->AP parameter 2015-12-29 20:32:41 +00:00
spi.c flash/nor/spi: reorder to group micron devices 2016-02-13 22:57:54 +00:00
spi.h flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
stellaris.c flash/nor/stellaris: fix: flash info RCC and RCC2 mixed up 2016-02-29 19:09:50 +00:00
stm32f1x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
stm32f2x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
stm32l4x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
stm32lx.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
stmsmi.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
str7x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
str9x.c Cleanup: removal of obsolete semicolons 2016-02-29 19:09:21 +00:00
str9xpec.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
tcl.c helper/fileio: Use size_t for file size. 2015-11-03 22:14:07 +00:00
tms470.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
virtual.c flash: Constify write buffer 2014-03-17 12:47:18 +00:00
xmc4xxx.c xmc4xxx: Add XMC4700 support 2016-02-23 19:32:01 +00:00