openocd/src/flash/nor
Erhan Kurubas 6db57051d0 flash/nor/kinetis: fix clang scan-build error format-truncation
kinetis.c:994:61: error: '%u' directive output may be truncated
writing between 1 and 10 bytes into a region of size 4
[-Werror=format-truncation=]

tested with scan-build-14

Signed-off-by: Erhan Kurubas <erhan.kurubas@espressif.com>
Change-Id: I72d141a3f8e19ca3596beee2be8434fc8492946f
Reviewed-on: https://review.openocd.org/c/openocd/+/7140
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
2022-09-01 10:22:29 +00:00
..
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
aduc702x.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
aducm360.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
ambiqmicro.c openocd: src: replace the BSD-3-Clause license tag 2022-07-23 13:14:01 +00:00
at91sam3.c openocd: src: replace the GPL and BSD-Source-Code license tags 2022-07-23 13:14:59 +00:00
at91sam4.c openocd: src: replace the GPL and BSD-Source-Code license tags 2022-07-23 13:14:59 +00:00
at91sam4l.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
at91sam7.c flash/nor: remove useless setting of bus_width and chip_width 2022-08-08 20:52:50 +00:00
at91samd.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
ath79.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
atsame5.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
atsamv.c openocd: src: replace the GPL and BSD-Source-Code license tags 2022-07-23 13:14:59 +00:00
avrf.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
bluenrg-x.c flash/nor/bluenrg-x: clarify target algo stack usage 2022-08-27 16:20:14 +00:00
bluenrg-x.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
cc26xx.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
cc26xx.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
cc3220sf.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
cc3220sf.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
cfi.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
cfi.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
core.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
core.h flash/nor/core: remove unused define 2022-08-27 16:19:16 +00:00
driver.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
drivers.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
dsp5680xx_flash.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
efm32.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
em357.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
esirisc_flash.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
faux.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
fespi.c flash/nor/fespi: check target type 2022-08-01 08:59:39 +00:00
fm3.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
fm4.c flash/nor: remove empty command definitions 2022-08-27 16:18:46 +00:00
imp.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
jtagspi.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
kinetis.c flash/nor/kinetis: fix clang scan-build error format-truncation 2022-09-01 10:22:29 +00:00
kinetis_ke.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
lpc288x.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
lpc2000.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
lpc2900.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
lpcspifi.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
max32xxx.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
mdr.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
mrvlqspi.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
msp432.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
msp432.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
niietcm4.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
non_cfi.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
non_cfi.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
npcx.c target,flash: allow target_free_working_area on NULL area pointer 2021-12-03 21:59:20 +00:00
nrf5.c flash/nor/nrf5: don't misuse uint32_t for refcount 2022-08-27 16:19:46 +00:00
numicro.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
ocl.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
ocl.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
pic32mx.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
psoc4.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
psoc5lp.c flash/nor: remove empty command definitions 2022-08-27 16:18:46 +00:00
psoc6.c flash/nor: remove useless setting of bus_width and chip_width 2022-08-08 20:52:50 +00:00
renesas_rpchf.c openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
rp2040.c flash/rp2040: don't initialize to NULL fields in struct 2021-11-23 11:04:42 +00:00
sfdp.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
sfdp.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
sh_qspi.c openocd: src: fix incorrect SPDX tags 2022-07-23 13:16:09 +00:00
sim3x.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
spi.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
spi.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
stellaris.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
stm32f1x.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
stm32f2x.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
stm32h7x.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
stm32l4x.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
stm32l4x.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
stm32lx.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
stmqspi.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
stmqspi.h openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
stmsmi.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
str7x.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
str9x.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
str9xpec.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
swm050.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
tcl.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
tms470.c flash/nor: remove useless setting of bus_width and chip_width 2022-08-08 20:52:50 +00:00
virtual.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
w600.c flash: nor: use binary prefixes consistently 2022-08-27 16:13:07 +00:00
xcf.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00
xmc1xxx.c flash/nor: remove empty command definitions 2022-08-27 16:18:46 +00:00
xmc4xxx.c openocd: src/flash: replace the GPL-2.0-or-later license tag 2022-07-23 13:16:27 +00:00