diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2025-02-26 23:25:03 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2025-03-01 15:11:03 +0000 |
commit | e1425845ea32713924cbfdfc9a328c6eb774f11f (patch) | |
tree | 9425d446ac5ed3a77369c92aafa2b932d20647ec /git-hooks/commit-msg | |
parent | 91c11ea469c7613d2b474149c48457dcc082ebed (diff) | |
download | riscv-openocd-e1425845ea32713924cbfdfc9a328c6eb774f11f.zip riscv-openocd-e1425845ea32713924cbfdfc9a328c6eb774f11f.tar.gz riscv-openocd-e1425845ea32713924cbfdfc9a328c6eb774f11f.tar.bz2 |
target: algorithm: change reg_name to const in init_reg_param()
The function init_reg_param() initializes a struct where the
pointer reg_name is assigned to a 'const char *'.
Change the prototype of init_reg_param() to make also the reg_name
parameter as 'const char *'.
Change-Id: Ib999eaa5786ad24aa2a361070162c6f362784758
Reported-by: Marek Kraus <gamelaster@outlook.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8797
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Marek Kraus <gamelaster@outlook.com>
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions