Skip to contentSkip to conversation

linux-next: build failure after merge of the akpm-current tree

DISCUSSION Stephen Rothwell 2 participants 5 messages Jun 24, 2021 – Jun 25, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

mm/page_reporting.c:14:37: error: initializer element is not constant

   14 | unsigned int page_reporting_order = pageblock_order;
      |                                     ^~~~~~~~~~~~~~~

Caused by commit

223f64d9e679 ("mm/page_reporting: export reporting order as module parameter")

pageblock_order is defined to be various things depending on CONFIG_ symbols.

I have reverted that commit (and the following three) for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

Quoted 9 lines · Stephen Rothwell

Hi all,

After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

mm/page_reporting.c:14:37: error: initializer element is not constant

    14 | unsigned int page_reporting_order = pageblock_order;
       |                                     ^~~~~~~~~~~~~~~
Quoted 9 lines

Caused by commit

223f64d9e679 ("mm/page_reporting: export reporting order as module parameter")

pageblock_order is defined to be various things depending on CONFIG_ symbols.

I have reverted that commit (and the following three) for today.

Yes, Please drop this series for now.

The v3 was applied and caused the build error. Actually, we need v5, which was posted couple of hours ago.

v5: https://lkml.org/lkml/2021/6/24/1137

Thanks,
Gavin

#2 lore raw

Hi Andrew,

Quoted 21 lines · On Fri, 25 Jun 2021 16:28:15 +1000 Gavin Shan <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell

Hi all,

After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

mm/page_reporting.c:14:37: error: initializer element is not constant

    14 | unsigned int page_reporting_order = pageblock_order;
       |                                     ^~~~~~~~~~~~~~~
Quoted 9 lines

Caused by commit

223f64d9e679 ("mm/page_reporting: export reporting order as module parameter")

pageblock_order is defined to be various things depending on CONFIG_ symbols.

I have reverted that commit (and the following three) for today.

Quoted 6 lines

Yes, Please drop this series for now.

The v3 was applied and caused the build error. Actually, we need v5, which was posted couple of hours ago.

    v5: https://lkml.org/lkml/2021/6/24/1137

Which version is in today's mmotm?

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw

Hi all,

Quoted 23 lines · On Fri, 25 Jun 2021 16:34:42 +1000 Stephen Rothwell <[email protected]>…
Quoted 21 lines · On Fri, 25 Jun 2021 16:28:15 +1000 Gavin Shan <[email protected]> wrote:
Quoted 18 lines · Stephen Rothwell

Hi all,

After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

mm/page_reporting.c:14:37: error: initializer element is not constant

    14 | unsigned int page_reporting_order = pageblock_order;
       |                                     ^~~~~~~~~~~~~~~

Caused by commit

223f64d9e679 ("mm/page_reporting: export reporting order as module parameter")

pageblock_order is defined to be various things depending on CONFIG_ symbols.

I have reverted that commit (and the following three) for today.

Quoted 8 lines
Quoted 6 lines

Yes, Please drop this series for now.

The v3 was applied and caused the build error. Actually, we need v5, which was posted couple of hours ago.

    v5: https://lkml.org/lkml/2021/6/24/1137  

Which version is in today's mmotm?

hmm, looks like v4. So do I drop these again today?

Signature · 2 lines
Cheers,
Stephen Rothwell
#4 lore raw
Quoted 28 lines · Stephen Rothwell

Hi all,

Quoted 25 lines · On Fri, 25 Jun 2021 16:34:42 +1000 Stephen Rothwell <[email protected]>…
Quoted 23 lines · On Fri, 25 Jun 2021 16:28:15 +1000 Gavin Shan <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell

Hi all,

After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

mm/page_reporting.c:14:37: error: initializer element is not constant

     14 | unsigned int page_reporting_order = pageblock_order;
        |                                     ^~~~~~~~~~~~~~~
Quoted 9 lines

Caused by commit

223f64d9e679 ("mm/page_reporting: export reporting order as module parameter")

pageblock_order is defined to be various things depending on CONFIG_ symbols.

I have reverted that commit (and the following three) for today.

Yes, Please drop this series for now.

Quoted 9 lines
Quoted 6 lines
Quoted 4 lines

The v3 was applied and caused the build error. Actually, we need v5, which was posted couple of hours ago.

     v5: https://lkml.org/lkml/2021/6/24/1137

Which version is in today's mmotm?

hmm, looks like v4. So do I drop these again today?

Stephen, lets keep v4 and I will send patch to fill the gap between v4/v5 if no one objects. Sorry for the extra work.

Thanks,
Gavin