]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
staging: comedi: tests: ni_routes_test: Avoid CamelCase: <RVi>
authorIan Abbott <abbotti@mev.co.uk>
Wed, 7 Apr 2021 14:01:40 +0000 (15:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 15:09:55 +0000 (17:09 +0200)
commit2628ca5f8e5ef0ad21565c3895eb8cfa1acc59bc
tree037d7681b18b489e6cb7e2647a6dfd07d3475614
parent15b7a743901c9917d4357224a468554d4f848dac
staging: comedi: tests: ni_routes_test: Avoid CamelCase: <RVi>

Rename the `RVi` macro to `RVI` to avoid this checkpatch.pl issue:

CHECK: #27: FILE: drivers/staging/comedi/drivers/tests/ni_routes_test.c:27:
+#define RVi(table, src, dest) ((table)[(dest) * NI_NUM_NAMES + (src)])

Cc: Spencer E. Olson <olsonse@umich.edu>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20210407140142.447250-4-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/tests/ni_routes_test.c