linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>,
	Doug Nelson <doug.nelson@intel.com>,
	"[4.8+]" <stable@vger.kernel.org>
Subject: Re: [PATCH] mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb
Date: Wed, 23 Nov 2016 19:52:50 +0800	[thread overview]
Message-ID: <201611231940.v9JYsaPh%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161123092326.169822-1-kirill.shutemov@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

Hi Kirill,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc6 next-20161123]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/mm-fix-false-positive-WARN_ON-in-truncate-invalidate-for-hugetlb/20161123-185641
config: alpha-defconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All errors (new ones prefixed by >>):

   In file included from arch/alpha/mm/init.c:9:0:
   include/linux/pagemap.h: In function 'page_to_pgoff':
>> include/linux/pagemap.h:402:10: error: unused variable 'pgoff' [-Werror=unused-variable]
     pgoff_t pgoff;
             ^~~~~
   cc1: all warnings being treated as errors

vim +/pgoff +402 include/linux/pagemap.h

   396	/*
   397	 * Get the offset in PAGE_SIZE.
   398	 * (TODO: hugepage should have ->index in PAGE_SIZE)
   399	 */
   400	static inline pgoff_t page_to_pgoff(struct page *page)
   401	{
 > 402		pgoff_t pgoff;
   403	
   404		if (unlikely(PageHeadHuge(page)))
   405			return page->index << compound_order(page);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 12066 bytes --]

  parent reply	other threads:[~2016-11-23 11:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23  9:23 Kirill A. Shutemov
2016-11-23  9:30 ` Kirill A. Shutemov
2016-11-24  1:37   ` Naoya Horiguchi
2016-11-23 11:52 ` kbuild test robot [this message]
2016-11-23 12:07 ` kbuild test robot

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=201611231940.v9JYsaPh%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=doug.nelson@intel.com \
    --cc=kbuild-all@01.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-mm@kvack.org \
    --cc=n-horiguchi@ah.jp.nec.com \
    --cc=stable@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox