* + mm-replace-zero-length-array-with-flexible-array-member-fix.patch added to -mm tree
@ 2020-04-18 2:42 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-04-18 2:42 UTC (permalink / raw)
To: akpm, bhe, cai, chenqiwu, david, mhocko, mm-commits,
pankaj.gupta.linux, richard.weiyang, willy, yang.shi
The patch titled
Subject: mm-replace-zero-length-array-with-flexible-array-member-fix
has been added to the -mm tree. Its filename is
mm-replace-zero-length-array-with-flexible-array-member-fix.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-replace-zero-length-array-with-flexible-array-member-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-replace-zero-length-array-with-flexible-array-member-fix.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: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-replace-zero-length-array-with-flexible-array-member-fix
fix build:
./include/linux/mmzone.h:1143:16: error: flexible array member in a struct with no named members
Cc: Baoquan He <bhe@redhat.com>
Cc: chenqiwu <chenqiwu@xiaomi.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Cc: Qian Cai <cai@lca.pw>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: Yang Shi <yang.shi@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/mmzone.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/mmzone.h~mm-replace-zero-length-array-with-flexible-array-member-fix
+++ a/include/linux/mmzone.h
@@ -1140,7 +1140,7 @@ struct mem_section_usage {
DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION);
#endif
/* See declaration of similar field in struct zone */
- unsigned long pageblock_flags[];
+ unsigned long pageblock_flags[0];
};
void subsection_map_init(unsigned long pfn, unsigned long nr_pages);
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
maintainers-add-an-entry-for-kfifo-fix.patch
maintainers-add-an-entry-for-kfifo-fix-fix.patch
mm-ksm-fix-null-pointer-dereference-when-ksm-zero-page-is-enabled-v4-fix.patch
drivers-tty-serial-sh-scic-suppress-uninitialized-var-warning.patch
mm.patch
mm-slub-fix-corrupted-freechain-in-deactivate_slab-fix.patch
memcg-optimize-memorynuma_stat-like-memorystat-fix.patch
mm-replace-zero-length-array-with-flexible-array-member-fix.patch
mm-hugetlb-fix-a-typo-in-comment-manitained-maintained-v2-checkpatch-fixes.patch
linux-next-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-18 2:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18 2:42 + mm-replace-zero-length-array-with-flexible-array-member-fix.patch added to -mm tree akpm
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).