Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 4 messages Nov 9, 2016 – Nov 10, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Andrew,

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

mm/hugetlb.c:1166:21: warning: 'alloc_gigantic_page' defined but not used [-Wunused-function]
static struct page *alloc_gigantic_page(int nid, unsigned int order)

                     ^

Introduced by commit

4acc8ccc3c57 ("mm/hugetlb.c: rename some allocation functions")

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

On Wed, Nov 09, 2016 at 03:10:06PM +1100, Stephen Rothwell wrote:
Hi Stephen,

Quoted 7 lines

Hi Andrew,

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

mm/hugetlb.c:1166:21: warning: 'alloc_gigantic_page' defined but not used [-Wunused-function]
static struct page *alloc_gigantic_page(int nid, unsigned int order)

The warning should be fixed by the patch (or next version of this patch):
http://marc.info/?l=linux-mm&m=147867535926059&w=2

Thanks
Huang Shijie

#2 lore raw
Quoted 11 lines · On Wed, 9 Nov 2016 15:18:24 +0800 Huang Shijie <[email protected]> wrote:

On Wed, Nov 09, 2016 at 03:10:06PM +1100, Stephen Rothwell wrote:
Hi Stephen,

Quoted 7 lines

Hi Andrew,

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

mm/hugetlb.c:1166:21: warning: 'alloc_gigantic_page' defined but not used [-Wunused-function]
static struct page *alloc_gigantic_page(int nid, unsigned int order)

The warning should be fixed by the patch (or next version of this patch):
http://marc.info/?l=linux-mm&m=147867535926059&w=2

I'll drop "mm/hugetlb.c: rename some allocation functions" for now. Please change it to fix this warning then add it to the surplus-page series when resending that.

#3 lore raw

Hi Andrew,

Quoted 10 lines · On Wed, 9 Nov 2016 13:21:53 -0800 Andrew Morton <[email protected]>…
Quoted 7 lines · On Wed, 9 Nov 2016 15:18:24 +0800 Huang Shijie <[email protected]> wrote:

On Wed, Nov 09, 2016 at 03:10:06PM +1100, Stephen Rothwell wrote:
Hi Stephen,

Quoted 5 lines

Hi Andrew,

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

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

mm/hugetlb.c:1166:21: warning: 'alloc_gigantic_page' defined but not used [-Wunused-function]
static struct page *alloc_gigantic_page(int nid, unsigned int order)

The warning should be fixed by the patch (or next version of this patch):
http://marc.info/?l=linux-mm&m=147867535926059&w=2

I'll drop "mm/hugetlb.c: rename some allocation functions" for now. Please change it to fix this warning then add it to the surplus-page series when resending that.

I have dropped it from linux-next today.

Signature · 2 lines
Cheers,
Stephen Rothwell