aboutsummaryrefslogtreecommitdiff
path: root/git-hooks/commit-msg
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-05-16 13:53:10 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-05-16 13:53:10 +0200
commit6f5259db05b262faac84a58bf3d7c3ddff394281 (patch)
treed926384eb37f60d93c2c4e7ecf92526b318a794f /git-hooks/commit-msg
parent0944e12232c165cef5a8cbc6d5921e11803c832f (diff)
downloadriscv-openocd-6f5259db05b262faac84a58bf3d7c3ddff394281.zip
riscv-openocd-6f5259db05b262faac84a58bf3d7c3ddff394281.tar.gz
riscv-openocd-6f5259db05b262faac84a58bf3d7c3ddff394281.tar.bz2
riscv: prefer ARRAY_SIZE() to DIM()
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 not upstreamed. Change-Id: Ie3e411280f76bc798f1d51c2574cfec148ee0d0d Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions