From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f197.google.com (mail-pf0-f197.google.com [209.85.192.197]) by kanga.kvack.org (Postfix) with ESMTP id 102FB6B0069 for ; Tue, 8 Nov 2016 14:59:31 -0500 (EST) Received: by mail-pf0-f197.google.com with SMTP id a8so54736670pfg.0 for ; Tue, 08 Nov 2016 11:59:31 -0800 (PST) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com. [148.163.156.1]) by mx.google.com with ESMTPS id r82si38381778pfi.192.2016.11.08.11.59.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Nov 2016 11:59:30 -0800 (PST) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uA8Jwwq7066937 for ; Tue, 8 Nov 2016 14:59:29 -0500 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0a-001b2d01.pphosted.com with ESMTP id 26kf3t1m2a-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 08 Nov 2016 14:59:29 -0500 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 Nov 2016 12:59:28 -0700 Date: Tue, 8 Nov 2016 13:59:21 -0600 From: Reza Arbab Subject: Re: [PATCH v6 4/4] of/fdt: mark hotpluggable memory References: <1478562276-25539-5-git-send-email-arbab@linux.vnet.ibm.com> <201611080920.t1iTxguA%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201611080920.t1iTxguA%fengguang.wu@intel.com> Message-Id: <20161108195921.5iltumzajxlkpayz@arbab-laptop.austin.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: kbuild test robot Cc: kbuild-all@01.org, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Andrew Morton , Rob Herring , Frank Rowand , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Stewart Smith , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Alistair Popple , "Aneesh Kumar K.V" , Bharata B Rao , Nathan Fontenot , linuxppc-dev@lists.ozlabs.org On Tue, Nov 08, 2016 at 09:59:26AM +0800, kbuild test robot wrote: >All errors (new ones prefixed by >>): > > drivers/of/fdt.c: In function 'early_init_dt_scan_memory': >>> drivers/of/fdt.c:1064:3: error: implicit declaration of function 'memblock_mark_hotplug' > cc1: some warnings being treated as errors > >vim +/memblock_mark_hotplug +1064 drivers/of/fdt.c > > 1058 continue; > 1059 pr_debug(" - %llx , %llx\n", (unsigned long long)base, > 1060 (unsigned long long)size); > 1061 > 1062 early_init_dt_add_memory_arch(base, size); > 1063 >> 1064 if (hotpluggable && memblock_mark_hotplug(base, size)) > 1065 pr_warn("failed to mark hotplug range 0x%llx - 0x%llx\n", > 1066 base, base + size); > 1067 } Ah, I need to adjust for !CONFIG_HAVE_MEMBLOCK. Will correct in v7. -- Reza Arbab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org