Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753477AbdHNQV4 (ORCPT ); Mon, 14 Aug 2017 12:21:56 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:37215 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbdHNQVx (ORCPT ); Mon, 14 Aug 2017 12:21:53 -0400 Date: Mon, 14 Aug 2017 10:21:50 -0600 From: Tycho Andersen To: kbuild test robot Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-hardening@lists.openwall.com, Marco Benatto , Juerg Haefliger Subject: Re: [PATCH v5 10/10] lkdtm: Add test for XPFO Message-ID: <20170814162150.ccq574wyt5ucuazn@smitten> References: <20170809200755.11234-11-tycho@docker.com> <201708130449.P9mhc7yi%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201708130449.P9mhc7yi%fengguang.wu@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1261 Lines: 28 On Sun, Aug 13, 2017 at 04:24:23AM +0800, kbuild test robot wrote: > Hi Juerg, > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on v4.13-rc4] > [cannot apply to next-20170811] > [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/Tycho-Andersen/Add-support-for-eXclusive-Page-Frame-Ownership/20170813-035705 > base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core > config: x86_64-randconfig-x016-201733 (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new ones prefixed by >>): > > drivers/misc/lkdtm_xpfo.c: In function 'read_user_with_flags': > >> drivers/misc/lkdtm_xpfo.c:31:14: error: implicit declaration of function 'user_virt_to_phys' [-Werror=implicit-function-declaration] > phys_addr = user_virt_to_phys(user_addr); > ^~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors These are both the same error, looks like I forgot a dummy prototype in the non CONFIG_XPFO case, I'll fix it in the next version. Tycho