Re: [linux-next:master 11896/11991] include/linux/page_idle.h:49:19: warning: unused variable 'page_ext'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 24 May 2016 18:48:23 +0800 kbuild test robot <fengguang.wu@xxxxxxxxx> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   66c198deda3725c57939c6cdaf2c9f5375cd79ad
> commit: 186ba1a848cef542bdf7c881f863783e9e7a91df [11896/11991] mm-check-the-return-value-of-lookup_page_ext-for-all-call-sites-checkpatch-fixes
> config: i386-randconfig-h1-05241552 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
> reproduce:
>         git checkout 186ba1a848cef542bdf7c881f863783e9e7a91df
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All warnings (new ones prefixed by >>):
> 
>                                  ^~~~~~~~~~~~~~~~~~~~~~~~
>    fs/proc/task_mmu.c:408:30: warning: unused variable 'proc_pid_maps_operations' [-Wunused-variable]
>     const struct file_operations proc_pid_maps_operations = {
>                                  ^~~~~~~~~~~~~~~~~~~~~~~

Confused.  proc_pid_maps_operations is referenced from fs/proc/base.o.

>    In file included from fs/proc/task_mmu.c:22:0:
>    fs/proc/internal.h:299:37: warning: unused variable 'proc_pagemap_operations' [-Wunused-variable]
>     extern const struct file_operations proc_pagemap_operations;
>                                         ^~~~~~~~~~~~~~~~~~~~~~~

Even more confused.  Your config has CONFIG_PROC_PAGE_MONITOR=n, so
proc_pagemap_operations doesn't get past the cpp stage.


>    In file included from fs/proc/task_mmu.c:16:0:
> >> include/linux/page_idle.h:49:19: warning: unused variable 'page_ext' [-Wunused-variable]
>      struct page_ext *page_ext = lookup_page_ext(page);

This is the new one and is presumably caused by the great stream of
missing ')'s in the CONFIG_64BIT=n section of page_idle.h.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]