Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5920166iob; Tue, 10 May 2022 06:45:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcaeSHO5JZedFxYebirTC7eVeGl9c04D4saPkaq+oPFTREmHoYP69dLK1TnShkN46piZOo X-Received: by 2002:a17:903:2446:b0:15e:ab0e:559 with SMTP id l6-20020a170903244600b0015eab0e0559mr20926645pls.83.1652190317320; Tue, 10 May 2022 06:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652190317; cv=none; d=google.com; s=arc-20160816; b=F/iOq3qz2V9Ebg2otqy1ZpWF6PmT9c9f0WdPLNtwFPqUOcyeAIZXROkfjNVlXoU+A5 6SFggnZnTZ9lusVXVol2BK+cH43fgA3vo9pqS0ndApTs8MZWH6RUEbV18uEytp6tm1VD AaXR8EWW94mbf0YCZVbjasIU4ScbbKVntMPKY3qZBztAXJqkpdO2OgVKk6ryA3lqmk0Z vt2eOUr5XTrVXrroDpID5O6khupr/o6Khxp0CyxeSIt4MuVg52ls3Pbe1OGvnmuDiXzL tNd/+6nutqp4VjuPB6Z4L96N+VT7yKtEO+EWY6aaQsoqVZiS/6VxmkGBzii1I/AgBZZw ROHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/7DAC6aEcMDEGeZtjFyESPHdXj+W2EdHTEMegBzGqWA=; b=uyc20U4eSVTAy7Wlwoa95IisO5b8RdnxBA23QWV5UWawjfYaooKJ+rGdq4OW9Vr2MZ 4BNex1AKxzgw0UKb53nFf8q2jl98WzHL9/Kdi8tLr+jwD3XQ4V4/z3SENyZotIyUp3u6 LIPSj3dqzTXRsN39oO6TtqU1Ffw5PP8o10xcgKPEPvMiv2tJfoWNQFFHavRVukr3F8jh XkyTqWKmQWRqyMg+KmkwRqLLbnJjxANA0w5gwqsJUIGbXBgPi3QPK6qWi8wHejUheS6r BAdQTJwjsm9LwrIANM1vTddEgSKCtNgOy+PIbA+wghMwj6n8OaWXzluyd/x2tRBY0uWQ 9Gow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=phCPQqig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p20-20020a639514000000b003aa7a7ef0e3si19607864pgd.802.2022.05.10.06.45.01; Tue, 10 May 2022 06:45:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=phCPQqig; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233528AbiEJKoX (ORCPT + 99 others); Tue, 10 May 2022 06:44:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239976AbiEJKoU (ORCPT ); Tue, 10 May 2022 06:44:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F75D28ABA9 for ; Tue, 10 May 2022 03:40:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B225761784 for ; Tue, 10 May 2022 10:40:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 178B2C385C6; Tue, 10 May 2022 10:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652179221; bh=O7wGDdbvzyYaDqEfzW2f8qf2bbg8+hQwT/vCW4k2cPA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=phCPQqig6FC2alGkWQ8R32QnauSaXdQbGwPQJW7klNNmjGnnhdKTCmtdSyM0/+zQj RvDY62lsTU5oFrYIWVHofXNSl1IUD98LbiMKorX54tgLvh85blX8AeKE9VglPa0G1K 17RNOz3wzdC/uNBgixKY9VAFegx6OpKFziZAay3Kj0RaT5EZZUSfpuk6rxG70TmULT FZae+mdtNIGMDBNSFNW6dwfLhLPT5aL+y4WLCuN0tRhYt4YHrkI07vPcAsrR/a+n5a JuLI7T2F6mCtW07dTsuanJuddo+gMMfHWT2dMdmar5DKKfSxU1fHGB0knXPEXpClfI J2mm0ndPDVsyA== Date: Tue, 10 May 2022 11:40:15 +0100 From: Will Deacon To: Gaosheng Cui Cc: catalin.marinas@arm.com, broonie@kernel.org, pcc@google.com, mark.rutland@arm.com, keescook@chromium.org, daniel.kiss@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, wangweiyang2@huawei.com, gongruiqi1@huawei.com Subject: Re: [PATCH -next] arm64: add missing header dependencies Message-ID: <20220510104014.GA27557@willie-the-truck> References: <20220509061751.3434059-1-cuigaosheng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220509061751.3434059-1-cuigaosheng1@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, May 09, 2022 at 02:17:51PM +0800, Gaosheng Cui wrote: > We get one error when building module with processor.h: > > ./arch/arm64/include/asm/processor.h:263:36: error: implicit declaration of function ‘task_stack_page’; > ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1) > ./arch/arm64/include/asm/processor.h:266:42: note: in expansion of macro ‘task_pt_regs’ > #define KSTK_ESP(tsk) user_stack_pointer(task_pt_regs(tsk)) > > task_stack_page is declared in linux/sched/task_stack.h, so this patch > add the missing header dependencies. > > Signed-off-by: Gaosheng Cui > --- > arch/arm64/include/asm/processor.h | 1 + > 1 file changed, 1 insertion(+) Do you know which commit is causing this error? I haven't seen any other reports, but it's hard to know which tree should take your patch as it stands. Thanks, Will > diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h > index 73e38d9a540c..1c239841c4d6 100644 > --- a/arch/arm64/include/asm/processor.h > +++ b/arch/arm64/include/asm/processor.h > @@ -28,6 +28,7 @@ > #include > #include > #include > +#include > #include > #include > #include > -- > 2.25.1 >