Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932591AbdLOQV6 (ORCPT ); Fri, 15 Dec 2017 11:21:58 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:40012 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932359AbdLOQVy (ORCPT ); Fri, 15 Dec 2017 11:21:54 -0500 Subject: Re: [PATCH] xen/balloon: Mark unallocated host memory as UNUSABLE To: kbuild test robot References: <1513119066-10748-1-git-send-email-boris.ostrovsky@oracle.com> <201712152318.QztDcBge%fengguang.wu@intel.com> Cc: kbuild-all@01.org, xen-devel@lists.xen.org, linux-kernel@vger.kernel.org, jgross@suse.com, helgaas@kernel.org, christian.koenig@amd.com From: Boris Ostrovsky Message-ID: Date: Fri, 15 Dec 2017 11:21:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <201712152318.QztDcBge%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8745 signatures=668648 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712150229 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1748 Lines: 45 On 12/15/2017 11:04 AM, kbuild test robot wrote: > Hi Boris, > > I love your patch! Yet something to improve: > > [auto build test ERROR on xen-tip/linux-next] > [also build test ERROR on v4.15-rc3 next-20171215] > [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/Boris-Ostrovsky/xen-balloon-Mark-unallocated-host-memory-as-UNUSABLE/20171215-231511 > base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next > config: i386-randconfig-x010-201750 (attached as .config) > compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 > reproduce: > # save the attached .config to linux build tree > make ARCH=i386 Oh, right... -boris > > All errors (new ones prefixed by >>): > > arch/x86/xen/enlighten.c: In function 'arch_xen_balloon_init': >>> arch/x86/xen/enlighten.c:341:27: error: 'max_pfn' undeclared (first use in this function); did you mean 'pgd_pfn'? > unsigned long max_addr = max_pfn << PAGE_SHIFT; > ^~~~~~~ > pgd_pfn > arch/x86/xen/enlighten.c:341:27: note: each undeclared identifier is reported only once for each function it appears in > > vim +341 arch/x86/xen/enlighten.c > > 335 > 336 #ifdef CONFIG_XEN_BALLOON_MEMORY_HOTPLUG > 337 void __init arch_xen_balloon_init(struct resource *hostmem_resource) > 338 { > 339 struct xen_memory_map memmap; > 340 int rc, i, last_guest_ram; > > 341 unsigned long max_addr = max_pfn << PAGE_SHIFT; > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation