linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] mm: memcontrol: Remove trailing semicolon in macros
       [not found] <20210614091530.22117-1-denghuilong@cdjrlc.com>
@ 2021-06-15  0:15 ` Shakeel Butt
  0 siblings, 0 replies; only message in thread
From: Shakeel Butt @ 2021-06-15  0:15 UTC (permalink / raw)
  To: Huilong Deng, Linux MM, LKML; +Cc: Andrew Morton, Roman Gushchin

+lkml and linux-mm

On Mon, Jun 14, 2021 at 2:15 AM Huilong Deng <denghuilong@cdjrlc.com> wrote:
>
> Macros should not use a trailing semicolon.
>
> Signed-off-by: Huilong Deng <denghuilong@cdjrlc.com>

Reviewed-by: Shakeel Butt <shakeelb@google.com>

> ---
>  include/linux/memcontrol.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
> index 3cc18c2176e7..1c1b11530ab6 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
> --
> 2.31.1
>
>
>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-15  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210614091530.22117-1-denghuilong@cdjrlc.com>
2021-06-15  0:15 ` [PATCH] mm: memcontrol: Remove trailing semicolon in macros Shakeel Butt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).