linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Rik van Riel <riel@redhat.com>
Cc: kbuild-all@01.org, linux-mm@kvack.org,
	Michal Hocko <mhocko@suse.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: [memcg:since-4.11 538/546] arch/x86/include/asm/stackprotector.h:77:12: error: 'CANARY_MASK' undeclared
Date: Fri, 30 Jun 2017 19:45:31 +0800	[thread overview]
Message-ID: <201706301929.ZTFA1yFG%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git since-4.11
head:   7398359c52bfc0e6188552bc391c717910db1a22
commit: a76bbabc83c87148e249810efba03a1b7a5952d3 [538/546] x86: ascii armor the x86_64 boot init stack canary
config: x86_64-randconfig-x010-201726 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout a76bbabc83c87148e249810efba03a1b7a5952d3
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from include/linux/stackprotector.h:9:0,
                    from arch/x86/kernel/process.c:22:
   arch/x86/include/asm/stackprotector.h: In function 'boot_init_stack_canary':
>> arch/x86/include/asm/stackprotector.h:77:12: error: 'CANARY_MASK' undeclared (first use in this function)
     canary &= CANARY_MASK;
               ^~~~~~~~~~~
   arch/x86/include/asm/stackprotector.h:77:12: note: each undeclared identifier is reported only once for each function it appears in

vim +/CANARY_MASK +77 arch/x86/include/asm/stackprotector.h

    71		 * there it already has some randomness on most systems. Later
    72		 * on during the bootup the random pool has true entropy too.
    73		 */
    74		get_random_bytes(&canary, sizeof(canary));
    75		tsc = rdtsc();
    76		canary += tsc + (tsc << 32UL);
  > 77		canary &= CANARY_MASK;
    78	
    79		current->stack_canary = canary;
    80	#ifdef CONFIG_X86_64

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

             reply	other threads:[~2017-06-30 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30 11:45 kbuild test robot [this message]
2017-06-30 11:57 ` Michal Hocko
2017-06-30 12:15   ` Michal Hocko

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=201706301929.ZTFA1yFG%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=riel@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox