Messages in this thread Patch in this message | | | From | Alberto Merciai <> | Subject | [PATCH 04/56] staging: r8188eu: add parenthesis to macro SetFrDs | Date | Mon, 3 Jan 2022 20:01:39 +0100 |
| |
Enclose in parenthesis complex macro SetFrDs
Signed-off-by: Alberto Merciai <alb3rt0.m3rciai@gmail.com> --- 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 487a4b7eafd6..07195a11aa78 100644 --- a/drivers/staging/r8188eu/include/wifi.h +++ b/drivers/staging/r8188eu/include/wifi.h @@ -169,7 +169,7 @@ enum WIFI_REG_DOMAIN { #define GetToDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_TO_DS_)) != 0) #define SetFrDs(pbuf) \ - *(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_) + (*(__le16 *)(pbuf) |= cpu_to_le16(_FROM_DS_)) #define GetFrDs(pbuf) (((*(__le16 *)(pbuf)) & cpu_to_le16(_FROM_DS_)) != 0) -- 2.25.1
| |