mm/vmalloc: minor coding style tweaks
diff mbox series

Message ID 1613963379-15988-1-git-send-email-daizhiyuan@phytium.com.cn
State In Next
Commit 2a98bb53c2607671c19136cd525a63a9b1034be0
Headers show
Series
  • mm/vmalloc: minor coding style tweaks
Related show

Commit Message

Zhiyuan Dai Feb. 22, 2021, 3:09 a.m. UTC
Macros with complex values should be enclosed in parentheses.

Signed-off-by: Zhiyuan Dai <daizhiyuan@phytium.com.cn>
---
 mm/vmalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 4f5f8c9..82cfa39 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -2739,7 +2739,7 @@  void *vzalloc_node(unsigned long size, int node)
  * 64b systems should always have either DMA or DMA32 zones. For others
  * GFP_DMA32 should do the right thing and use the normal zone.
  */
-#define GFP_VMALLOC32 GFP_DMA32 | GFP_KERNEL
+#define GFP_VMALLOC32 (GFP_DMA32 | GFP_KERNEL)
 #endif
 
 /**