mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 11:23:09 -04:00
staging/rdma/hfi1: diag.c use BIT macros
Use BIT macros rather than shifts. Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f085292250
commit
799d904bf8
@@ -78,8 +78,8 @@
|
||||
hfi1_cdbg(SNOOP, fmt, ##__VA_ARGS__)
|
||||
|
||||
/* Snoop option mask */
|
||||
#define SNOOP_DROP_SEND (1 << 0)
|
||||
#define SNOOP_USE_METADATA (1 << 1)
|
||||
#define SNOOP_DROP_SEND BIT(0)
|
||||
#define SNOOP_USE_METADATA BIT(1)
|
||||
|
||||
static u8 snoop_flags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user