openocd/src
Antonio Borneo e66bb9d312 coding style: add parenthesis around the argument of sizeof
The script checkpatch available in new Linux kernel offers an
experimental feature for automatically fix the code in place.
While still experimental, the feature works quite well for simple
fixes, like parenthesis.

This patch has been created automatically with the script under
review for inclusion in OpenOCD, using the command:

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

Change-Id: I8adb325bdb0e13211f8bae8b4770ec1979c176bf
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5618
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
2020-05-09 14:39:19 +01:00
..
flash coding style: add parenthesis around the argument of sizeof 2020-05-09 14:39:19 +01:00
helper helper/ioutil: silence gcc-8 on strncpy 2020-05-09 14:36:56 +01:00
jtag coding style: add parenthesis around the argument of sizeof 2020-05-09 14:39:19 +01:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos Add get_thread_reg() and set_reg() for hwthread 2020-05-07 21:32:32 +01:00
server server/telnet: Fix history output 2020-05-09 14:35:43 +01:00
svf coding style: remove useless break after a goto or return 2020-05-09 14:39:05 +01:00
target coding style: add parenthesis around the argument of sizeof 2020-05-09 14:39:19 +01:00
transport coding style: remove useless break after a goto or return 2020-05-09 14:39:05 +01:00
xsvf xsvf: fix memory leak 2020-01-16 09:44:33 +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
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00: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