diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-05-06 14:22:06 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-07-08 22:07:56 +0100 |
commit | bf346292942868db6ed8a71e2c4c8b8359d6d300 (patch) | |
tree | 32dc24fad6c72c7b3083f71de50a4fe08d1e9c95 /src/jtag/drivers | |
parent | f29d157882a756e562d224dd128eea1bbe3e3813 (diff) | |
download | riscv-openocd-bf346292942868db6ed8a71e2c4c8b8359d6d300.zip riscv-openocd-bf346292942868db6ed8a71e2c4c8b8359d6d300.tar.gz riscv-openocd-bf346292942868db6ed8a71e2c4c8b8359d6d300.tar.bz2 |
coding style: fix print of hex values as decimal
It is an error to prefix with "0x" the print of values in decimal.
Replace the incorrect decimal format specifier with PRIx32.
Issue identified by checkpatch script from Linux kernel v5.1 using
the command
find src/ -type f -exec ./tools/scripts/checkpatch.pl \
-q --types PRINTF_0XDECIMAL -f {} \;
Change-Id: I2eb867ef654527b2737ba573a405ec8f97c6a739
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5624
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/jtag/drivers')
0 files changed, 0 insertions, 0 deletions