From: Huilong Deng Date: Tue, 29 Jun 2021 02:38:24 +0000 (-0700) Subject: mm: memcontrol: remove trailing semicolon in macros X-Git-Tag: v5.15~864^2~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a1803bb582c50909a7f6cc4153360eaf5ae8fc8;p=platform%2Fkernel%2Flinux-starfive.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 1de3859..6d66037 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