Fix misc-macro-parentheses warnings
When compiled with WITH_TIDY=1, clang-tidy warns about
missing parameters around macro parameters.
Bug: 28705665
Change-Id: I89c23cfe6eaefae5ef3c648a7c123c0501662c13
diff --git a/btif/src/btif_debug_btsnoop.cc b/btif/src/btif_debug_btsnoop.cc
index 4e31f27..7f15192 100644
--- a/btif/src/btif_debug_btsnoop.cc
+++ b/btif/src/btif_debug_btsnoop.cc
@@ -26,7 +26,7 @@
#include "include/bt_target.h"
#include "osi/include/ringbuffer.h"
-#define REDUCE_HCI_TYPE_TO_SIGNIFICANT_BITS(type) (type >> 8)
+#define REDUCE_HCI_TYPE_TO_SIGNIFICANT_BITS(type) ((type) >> 8)
// Total btsnoop memory log buffer size
#ifndef BTSNOOP_MEM_BUFFER_SIZE