From: Huilong Deng Date: Tue, 29 Jun 2021 02:38:24 +0000 (-0700) Subject: mm: memcontrol: remove trailing semicolon in macros X-Git-Tag: block-5.14-2021-07-08~47^2~94 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6a1803bb582c50909a7f6cc4153360eaf5ae8fc8;p=linux-block.git mm: memcontrol: remove trailing semicolon in macros Macros should not use a trailing semicolon. Link: https://lkml.kernel.org/r/20210614091530.22117-1-denghuilong@cdjrlc.com Signed-off-by: Huilong Deng Reviewed-by: Andrew Morton Reviewed-by: Shakeel Butt Cc: Roman Gushchin Cc: Michal Hocko Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 1de3859233a6..6d66037be646 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h @@ -192,7 +192,7 @@ enum memcg_kmem_state { struct memcg_padding { char x[0]; } ____cacheline_internodealigned_in_smp; -#define MEMCG_PADDING(name) struct memcg_padding name; +#define MEMCG_PADDING(name) struct memcg_padding name #else #define MEMCG_PADDING(name) #endif