Unverified Commit f15c45f5 by Tobin C. Harding Committed by Christian Brauner

cmd: Use parenthesis around complex macro

checkpatch emits error: ERROR: Macros with complex values should be enclosed in parentheses Safeguard macro by use of parenthesis. Signed-off-by: 's avatarTobin C. Harding <me@tobin.cc>
parent ef76bc8a
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
/* option keys for long only options */ /* option keys for long only options */
#define OPT_USAGE 0x1000 #define OPT_USAGE 0x1000
#define OPT_VERSION OPT_USAGE - 1 #define OPT_VERSION (OPT_USAGE - 1)
#define QUOTE(macro) #macro #define QUOTE(macro) #macro
#define QUOTEVAL(macro) QUOTE(macro) #define QUOTEVAL(macro) QUOTE(macro)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment