Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp145108iob; Tue, 17 May 2022 21:46:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXlB/l9kpiULq5e1JmFfaTrgJyWYGqyPOWyG8D5kChy4kmRHDljZSaj/lYlca7jUkggL2J X-Received: by 2002:a17:902:830a:b0:161:b926:2c3d with SMTP id bd10-20020a170902830a00b00161b9262c3dmr3607391plb.103.1652849199252; Tue, 17 May 2022 21:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652849199; cv=none; d=google.com; s=arc-20160816; b=asK4S+pDpWwVsmlpewHwN+ohXfVEmMuEhqDlLZbcCZVlQ13Qac2aCczC/L/C4Pjh28 VRW+ikSLLEdHM7YCxjmFjbUDM41zGz9xgbDuLh2AtuV8HYrVdP9d2gD8255nXRTqAVjq htJfdj2NcPjLYFLAew4Lleg9X0pXMsAr0nnQsUJU76UI5++Gd1eJkdPDtEp/1jleAsk0 8xNgBSShiteMPkhxFfnP+Nk0OQAQRh6cIhuutzo+LI+LFdGpqJbZH+blVsInr0VTllHt VGZm7ELTmtm2fAK5lRpJKuWIIDjuBpzMkc0Lo0Km2mF3Lyl4+Lm/nGHwOrM9B3PLkTbq yWuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=Nx1wNdnhjZyYC07eKCyzYsvUT7ZD/qBbxsygL1cpN2o=; b=paIqpLFRBykTGHC9XEW+Bb8ThtXN64LuIbnTa/yH/jWH8zZNIBkoKFoxnU7N2boQat scfEobPR7CSHiubuuP8qVyYlG9PvloB2noq3EHapl9r/EQ6Q4gPjgEvy1Z+on10MxiFu jacZk0+7hdCR7Dy1SafYH3nEE0DSqaFQ0XfSUeglK/KprNXtNIfjq98y0rAKBp/5/Ryo h0DyLgpsZdJegxsaLtlMC/J6T9Qt3j7qMJ8lP2gmgX8AdvK6QLr3SZMH50FBPfFQgK/7 kvM/cvBw6wDjLAAhukQBnaFISCS5IgoVhblwijSKw2y4jeV4ZZhHbj/Zj28qFbnHQl1n CQgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id nl18-20020a17090b385200b001df53ffe159si1725618pjb.1.2022.05.17.21.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 21:46:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CB6FE104CA3; Tue, 17 May 2022 20:58:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345187AbiEQLb7 (ORCPT + 99 others); Tue, 17 May 2022 07:31:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233488AbiEQLb5 (ORCPT ); Tue, 17 May 2022 07:31:57 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD47027175 for ; Tue, 17 May 2022 04:31:56 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4L2Yjx0jCkzCskY; Tue, 17 May 2022 19:27:01 +0800 (CST) Received: from [10.174.179.215] (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 17 May 2022 19:31:54 +0800 Subject: Re: [PATCH -next] powerpc/book3e: Fix build error To: Christophe Leroy , "mpe@ellerman.id.au" , "benh@kernel.crashing.org" , "paulus@samba.org" CC: "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" References: <20220517094830.27560-1-yuehaibing@huawei.com> <0e8b7931-9bfb-1948-c141-c4e612ba0fe6@csgroup.eu> From: YueHaibing Message-ID: <8b169642-5d32-4135-93a7-4969515d1ab0@huawei.com> Date: Tue, 17 May 2022 19:31:54 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <0e8b7931-9bfb-1948-c141-c4e612ba0fe6@csgroup.eu> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/5/17 18:45, Christophe Leroy wrote: > > > Le 17/05/2022 à 11:48, YueHaibing a écrit : >> arch/powerpc/mm/nohash/fsl_book3e.c: In function ‘relocate_init’: >> arch/powerpc/mm/nohash/fsl_book3e.c:348:2: error: implicit declaration of function ‘early_get_first_memblock_info’ [-Werror=implicit-function-declaration] >> early_get_first_memblock_info(__va(dt_ptr), &size); >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Add missing include file linux/of_fdt.h to fix this. >> >> Signed-off-by: YueHaibing > > Thats for fixing that. > > Reviewed-by: Christophe Leroy > > It means we don't have any defconfig for 32 bits booke with > CONFIG_RELOCATABLE ? Indeed, there is no defconfig with CONFIG_RELOCATABLE under arch/powerpc/configs > >> --- >> arch/powerpc/mm/nohash/fsl_book3e.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/powerpc/mm/nohash/fsl_book3e.c b/arch/powerpc/mm/nohash/fsl_book3e.c >> index 08a984e29433..093da4dbdee1 100644 >> --- a/arch/powerpc/mm/nohash/fsl_book3e.c >> +++ b/arch/powerpc/mm/nohash/fsl_book3e.c >> @@ -36,6 +36,7 @@ >> #include >> #include >> #include >> +#include >> >> #include >> #include