openocd/src/helper
Antonio Borneo c0c7d6fe8b openocd: fix Yoda conditions with checkpatch
The new checkpatch can automatically fix the code, but this
feature is still error prone and not complete.

Patch generated automatically through the new checkpatch with
flags "--types CONSTANT_COMPARISON --fix-inplace".

Some Yoda condition is detected by checkpatch but not fixed; it
will be fixed manually in a following commit.

Change-Id: Ifaaa1159e63dbd1db6aa3c017125df9874fa9703
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6355
Tested-by: jenkins
2021-07-24 10:38:31 +01:00
..
bin2char.sh helper: fix minor typos 2020-09-05 17:10:54 +01:00
binarybuffer.c openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
binarybuffer.h Fix debug prints when loading to flash 2020-09-05 16:48:08 +01:00
bits.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
command.c openocd: manually remove NULL comparisons 2021-07-24 10:38:19 +01:00
command.h openocd: fix simple cases of Yoda condition 2021-07-20 14:55:24 +01:00
configuration.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
configuration.h helper/configuration: free script_search_dirs and config_file_names 2018-03-07 23:47:31 +00:00
fileio.c openocd: manually remove NULL comparisons 2021-07-24 10:38:19 +01:00
fileio.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
jep106.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jep106.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
jep106.inc jep106: Add new IDs from JEDEC 2020-12-05 23:17:48 +00:00
jim-nvp.c openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
jim-nvp.h helper/jim-nvp: comply with coding style [1/2] 2021-06-04 17:40:39 +01:00
list.h helper/list.h: add mention to the example in contrib 2021-06-04 17:41:57 +01:00
log.c openocd: remove NULL comparisons with checkpatch [1/2] 2021-07-24 10:38:00 +01:00
log.h gdb_server: Log both incoming and outgoing GDB packets 2021-06-04 17:43:26 +01:00
Makefile.am ioutil: drop the code, deprecated in v0.10.0 2021-03-19 21:55:23 +00:00
options.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
replacements.c openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
replacements.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
startup.tcl coding style: src: remove empty lines at end of text files 2020-05-02 15:40:21 +01:00
system.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
time_support_common.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
time_support.c openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
time_support.h openocd: fix some minor typo 2021-05-22 10:06:51 +01:00
types.h helper/types: remove type '_Bool' 2021-05-01 13:36:58 +01:00
update_jep106.pl helper: fix minor typos 2020-09-05 17:10:54 +01:00
util.c helper: rename camelcase symbols 2021-07-02 17:10:03 +01:00
util.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00