Commit 799d904b authored by Ira Weiny's avatar Ira Weiny Committed by Greg Kroah-Hartman

staging/rdma/hfi1: diag.c use BIT macros

Use BIT macros rather than shifts.
Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f0852922
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
hfi1_cdbg(SNOOP, fmt, ##__VA_ARGS__) hfi1_cdbg(SNOOP, fmt, ##__VA_ARGS__)
/* Snoop option mask */ /* Snoop option mask */
#define SNOOP_DROP_SEND (1 << 0) #define SNOOP_DROP_SEND BIT(0)
#define SNOOP_USE_METADATA (1 << 1) #define SNOOP_USE_METADATA BIT(1)
static u8 snoop_flags; static u8 snoop_flags;
......
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