aboutsummaryrefslogtreecommitdiff
path: root/git-hooks/commit-msg
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-05-16 13:57:11 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-05-16 13:57:11 +0200
commit9bdd1daec317dfc6e258dc1c9056e1eacc0709a2 (patch)
tree1047fa8de2122b03af369fe4c927fc1a2c6f314a /git-hooks/commit-msg
parent6f5259db05b262faac84a58bf3d7c3ddff394281 (diff)
downloadriscv-openocd-9bdd1daec317dfc6e258dc1c9056e1eacc0709a2.zip
riscv-openocd-9bdd1daec317dfc6e258dc1c9056e1eacc0709a2.tar.gz
riscv-openocd-9bdd1daec317dfc6e258dc1c9056e1eacc0709a2.tar.bz2
riscv: replace macro DIM() with ARRAY_SIZE()
OpenOCD already defines the macro ARRAY_SIZE, while riscv code uses a local macro DIM. Prefer using the macro ARRAY_SIZE() instead of DIM(). Not all the riscv code has been upstreamed, yes; this patch only covers the code already upstreamed. Change-Id: I89a58a6d91916d85c53ba5e4091b558271f8d618 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions