* + linux-memcontrolh-remove-duplicate-struct-declaration.patch added to -mm tree
@ 2021-03-31 5:02 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-03-31 5:02 UTC (permalink / raw)
To: mhocko, mm-commits, songmuchun, wanjiabing
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@vivo.com>
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@vivo.com
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@vivo.com are
linux-memcontrolh-remove-duplicate-struct-declaration.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-31 5:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 5:02 + linux-memcontrolh-remove-duplicate-struct-declaration.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.