staging: comedi: tests: ni_routes_test: Put complex values in parentheses
authorIan Abbott <abbotti@mev.co.uk>
Wed, 7 Apr 2021 14:01:39 +0000 (15:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 15:09:55 +0000 (17:09 +0200)
commit15b7a743901c9917d4357224a468554d4f848dac
tree3d6c525e62525b686c59bcd61fa2d62e50272f85
parent6db58ed2b2d9bb1792eace4f9aa70e8bdd730ffc
staging: comedi: tests: ni_routes_test: Put complex values in parentheses

Fix checkpatch.pl errors such as:

ERROR: Macros with complex values should be enclosed in parentheses
+#define I1(x1) \
+ (int[]){ \
+ x1, 0 \
+ }

Also, wrap that `x1` in parentheses.

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