All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, Yang Shi <yang.shi@linaro.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 11896/11991] include/linux/page_idle.h:49:19: warning: unused variable 'page_ext'
Date: Tue, 24 May 2016 12:44:57 -0700	[thread overview]
Message-ID: <20160524124457.2fa8fca1db728522fd22de54@linux-foundation.org> (raw)
In-Reply-To: <201605241820.dS1jQptn%fengguang.wu@intel.com>

On Tue, 24 May 2016 18:48:23 +0800 kbuild test robot <fengguang.wu@intel.com> 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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2016-05-24 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 10:48 [linux-next:master 11896/11991] include/linux/page_idle.h:49:19: warning: unused variable 'page_ext' kbuild test robot
2016-05-24 19:44 ` Andrew Morton [this message]
2016-05-25  0:14   ` Fengguang Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160524124457.2fa8fca1db728522fd22de54@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=yang.shi@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.