The patch titled Subject: linux/memcontrol.h: remove duplicate struct declaration has been added to the -mm tree. Its filename is linux-memcontrolh-remove-duplicate-struct-declaration.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/linux-memcontrolh-remove-duplicate-struct-declaration.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/linux-memcontrolh-remove-duplicate-struct-declaration.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wan Jiabing <wanjiabing@xxxxxxxx> Subject: linux/memcontrol.h: remove duplicate struct declaration struct mem_cgroup is declared twice. One has been declared at forward struct declaration. Remove the duplicate. Link: https://lkml.kernel.org/r/20210330020246.2265371-1-wanjiabing@xxxxxxxx Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/memcontrol.h | 2 -- 1 file changed, 2 deletions(-) --- a/include/linux/memcontrol.h~linux-memcontrolh-remove-duplicate-struct-declaration +++ a/include/linux/memcontrol.h @@ -1117,8 +1117,6 @@ unsigned long mem_cgroup_soft_limit_recl #define MEM_CGROUP_ID_SHIFT 0 #define MEM_CGROUP_ID_MAX 0 -struct mem_cgroup; - static inline struct mem_cgroup *page_memcg(struct page *page) { return NULL; _ Patches currently in -mm which might be from wanjiabing@xxxxxxxx are linux-memcontrolh-remove-duplicate-struct-declaration.patch