riscv-openocd/src
Antonio Borneo b5c883f298 target/nds32: fix type of magic number
The macro NDS32_COMMON_MAGIC was cast-ed to int to avoid compile
time error for comparison type mismatch while comparing it with
the field common_magic.
This is incorrect because the macro value is a 32 bit unsigned
value; better changing the type of the field common_magic to keep
the unsigned value.

Issue identified by checkpatch script from Linux kernel v5.1 using
the command

	find src/ -type f -exec ./tools/scripts/checkpatch.pl \
	-q --types TYPECAST_INT_CONSTANT -f {} \;

Change-Id: Ib5924b6cecdffe70ab5c78d3b30a9c8e4deb7c7b
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5193
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2020-02-15 15:36:56 +00:00
..
flash flash/nor/stm32lx: Minor code cleanups 2020-02-15 15:34:01 +00:00
helper jtag_vpi: multiple improvements 2020-01-02 21:22:33 +00:00
jtag jtag_vpi: added an option to stop simulation on exit 2020-02-15 15:32:53 +00:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos rtos/FreeRTOS: Fix FreeRTOS thread list reading 2020-01-02 21:20:29 +00:00
server server/server: fix clang static analyzer warning 2020-01-16 09:44:49 +00:00
svf openocd: fix minor inconsistencies after renaming "adapter" command 2020-01-29 05:36:30 +00:00
target target/nds32: fix type of magic number 2020-02-15 15:36:56 +00:00
transport adi_v5_dapdirect: add support for adapter drivers that provide DAP API 2020-01-14 11:40:25 +00:00
xsvf xsvf: fix memory leak 2020-01-16 09:44:33 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00