mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Andy Lutomirski <luto@kernel.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	tipbuild@zytor.com, Thomas Gleixner <tglx@linutronix.de>
Subject: [tip:WIP.x86/pti-upstream 38/50] arch/x86/include/asm/mmu_context.h:73:18: error: 'LDT_BASE_ADDR' undeclared
Date: Sun, 17 Dec 2017 07:35:53 +0800	[thread overview]
Message-ID: <201712170751.35EfkOVP%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti-upstream
head:   78e4da51f7c77587cc6f419af4f63a21b289bdb7
commit: 7e482cfe4a23ead21215423c4566c8516ba21025 [38/50] x86/pti: Put the LDT in its own PGD if PTI is on
config: i386-randconfig-h0-12170619 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout 7e482cfe4a23ead21215423c4566c8516ba21025
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from arch/x86//kernel/apic/ipi.c:16:0:
   arch/x86/include/asm/mmu_context.h: In function 'ldt_slot_va':
>> arch/x86/include/asm/mmu_context.h:73:18: error: 'LDT_BASE_ADDR' undeclared (first use in this function)
     return (void *)(LDT_BASE_ADDR + LDT_SLOT_STRIDE * slot);
                     ^~~~~~~~~~~~~
   arch/x86/include/asm/mmu_context.h:73:18: note: each undeclared identifier is reported only once for each function it appears in
--
   In file included from arch/x86//kernel/cpu/common.c:22:0:
   arch/x86/include/asm/mmu_context.h: In function 'ldt_slot_va':
>> arch/x86/include/asm/mmu_context.h:73:18: error: 'LDT_BASE_ADDR' undeclared (first use in this function)
     return (void *)(LDT_BASE_ADDR + LDT_SLOT_STRIDE * slot);
                     ^~~~~~~~~~~~~
   arch/x86/include/asm/mmu_context.h:73:18: note: each undeclared identifier is reported only once for each function it appears in
   In file included from arch/x86//kernel/cpu/common.c:22:0:
   arch/x86/include/asm/mmu_context.h:74:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/LDT_BASE_ADDR +73 arch/x86/include/asm/mmu_context.h

    70	
    71	static inline void *ldt_slot_va(int slot)
    72	{
  > 73		return (void *)(LDT_BASE_ADDR + LDT_SLOT_STRIDE * slot);
    74	}
    75	

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

             reply	other threads:[~2017-12-16 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-16 23:35 kbuild test robot [this message]
2017-12-17  2:50 ` Andy Lutomirski

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=201712170751.35EfkOVP%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tipbuild@zytor.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

all inboxes | Powered by JetHome®