openocd/src/target/riscv
Antonio Borneo 3917823187 openocd: remove NULL comparisons with checkpatch [1/2]
Patch generated automatically through the new checkpatch with
flags "--types COMPARISON_TO_NULL --fix-inplace".
This only fixes the comparisons
	if (symbol == NULL)
	if (symbol != NULL)
The case of NULL on the left side of the comparison is not tested.

Some automatic fix is incorrect and has been massaged by hands:
	-	if (*psig == NULL)
	+	if (*!psig)
changed as
	+	if (!*psig)

Change-Id: If4a1e2b4e547e223532e8e3d9da89bf9cb382ce6
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6351
Tested-by: jenkins
2021-07-24 10:38:00 +01:00
..
asm.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
batch.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
batch.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
debug_defines.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
encoding.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
gdb_regs.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
Makefile.am Add RISC-V support. 2018-07-24 13:07:26 +01:00
opcodes.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
program.c Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
program.h Upstream tons of RISC-V changes. 2020-10-14 05:43:05 +01:00
riscv_semihosting.c openocd: manually fix Yoda conditions 2021-07-20 14:55:43 +01:00
riscv-011.c riscv: replace macro DIM() with ARRAY_SIZE() 2021-05-22 10:11:41 +01:00
riscv-013.c openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
riscv.c openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
riscv.h target/register: use an array of uint8_t for register's value 2020-12-05 23:18:37 +00:00