Commit 6a1803bb authored by Huilong Deng's avatar Huilong Deng Committed by Linus Torvalds

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.comSigned-off-by: default avatarHuilong Deng <denghuilong@cdjrlc.com>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarShakeel Butt <shakeelb@google.com>
Cc: Roman Gushchin <guro@fb.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c74d40e8
...@@ -192,7 +192,7 @@ enum memcg_kmem_state { ...@@ -192,7 +192,7 @@ enum memcg_kmem_state {
struct memcg_padding { struct memcg_padding {
char x[0]; char x[0];
} ____cacheline_internodealigned_in_smp; } ____cacheline_internodealigned_in_smp;
#define MEMCG_PADDING(name) struct memcg_padding name; #define MEMCG_PADDING(name) struct memcg_padding name
#else #else
#define MEMCG_PADDING(name) #define MEMCG_PADDING(name)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment