[PATCH 42/56] staging: r8188eu: add parenthesis to macro set_priority
From: Alberto Merciai
Date: Mon Jan 03 2022 - 14:44:57 EST
Enclose in parenthesis complex macro set_priority
Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@xxxxxxxxx>
---
drivers/staging/r8188eu/include/wifi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/r8188eu/include/wifi.h b/drivers/staging/r8188eu/include/wifi.h
index c2edeefe452b..f6323767d659 100644
--- a/drivers/staging/r8188eu/include/wifi.h
+++ b/drivers/staging/r8188eu/include/wifi.h
@@ -234,7 +234,7 @@ enum WIFI_REG_DOMAIN {
(*(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur)))
#define set_priority(pbuf, tid) \
- *(__le16 *)(pbuf) |= cpu_to_le16(tid & 0xf)
+ (*(__le16 *)(pbuf) |= cpu_to_le16(tid & 0xf))
#define GetPriority(pbuf) ((le16_to_cpu(*(__le16 *)(pbuf))) & 0xf)
--
2.25.1