Re: [PATCH] linux/memcontrol.h: Remove duplicate struct declaration

2021-03-30 Thread Michal Hocko
On Tue 30-03-21 10:02:36, Wan Jiabing wrote: > struct mem_cgroup is declared twice. One has been declared > at forward struct declaration. Remove the duplicate. Duplicate declaration shouldn't really cause any problems. You are right that there is one which is independent on CONFIG_MEMCG so the be

Re: [External] [PATCH] linux/memcontrol.h: Remove duplicate struct declaration

2021-03-29 Thread Muchun Song
On Tue, Mar 30, 2021 at 10:03 AM Wan Jiabing wrote: > > struct mem_cgroup is declared twice. One has been declared > at forward struct declaration. Remove the duplicate. > > Signed-off-by: Wan Jiabing Reviewed-by: Muchun Song Thanks. > --- > include/linux/memcontrol.h | 2 -- > 1 file change

[PATCH] linux/memcontrol.h: Remove duplicate struct declaration

2021-03-29 Thread Wan Jiabing
struct mem_cgroup is declared twice. One has been declared at forward struct declaration. Remove the duplicate. Signed-off-by: Wan Jiabing --- include/linux/memcontrol.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 0c04d39a796