mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
6db58ed2b2
commit
15b7a74390
1 changed files with 9 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue