All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Matthew Wilcox <willy@linux.intel.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Dave Jiang <dave.jiang@intel.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: arch/x86/include/asm/pgtable.h:888:2: error: implicit declaration of function 'native_pud_clear'
Date: Sun, 12 Mar 2017 06:55:59 +0800	[thread overview]
Message-ID: <201703120656.zGxXeJer%fengguang.wu@intel.com> (raw)

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

Hi Matthew,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   84c37c168c0e49a412d7021cda3183a72adac0d0
commit: a00cc7d9dd93d66a3fb83fc52aa57a4bec51c517 mm, x86: add support for PUD-sized transparent hugepages
date:   2 weeks ago
config: i386-randconfig-a0-201711 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout a00cc7d9dd93d66a3fb83fc52aa57a4bec51c517
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/mm.h:68:0,
                    from include/linux/suspend.h:8,
                    from arch/x86/kernel/asm-offsets.c:12:
   arch/x86/include/asm/pgtable.h: In function 'native_local_pudp_get_and_clear':
>> arch/x86/include/asm/pgtable.h:888:2: error: implicit declaration of function 'native_pud_clear' [-Werror=implicit-function-declaration]
     native_pud_clear(pudp);
     ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +/native_pud_clear +888 arch/x86/include/asm/pgtable.h

   882	}
   883	
   884	static inline pud_t native_local_pudp_get_and_clear(pud_t *pudp)
   885	{
   886		pud_t res = *pudp;
   887	
 > 888		native_pud_clear(pudp);
   889		return res;
   890	}
   891	

---
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: 22972 bytes --]

             reply	other threads:[~2017-03-11 22:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-11 22:55 kbuild test robot [this message]
2017-03-13 15:57 ` arch/x86/include/asm/pgtable.h:888:2: error: implicit declaration of function 'native_pud_clear' Dave Jiang
2017-03-13 15:57   ` Dave Jiang
2017-03-14  0:56   ` Fengguang Wu
2017-03-14  0:56     ` Fengguang Wu
  -- strict thread matches above, loose matches on Subject: below --
2017-03-04 23:02 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=201703120656.zGxXeJer%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=dave.jiang@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=willy@linux.intel.com \
    /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.