Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp912825rwd; Tue, 16 May 2023 09:10:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4V0+4JiN7K94vRaZ0A9f3DOX/U1CFz/hz5HFLaA3JiCLlb4Cmc7v6z2OsruX55VjdksJWD X-Received: by 2002:a05:6808:19a6:b0:395:de70:a27b with SMTP id bj38-20020a05680819a600b00395de70a27bmr6722443oib.43.1684253428334; Tue, 16 May 2023 09:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684253428; cv=none; d=google.com; s=arc-20160816; b=H3qQH/PlsWxk1x0lY0r4FoP9og0Fiw78xnRQK6FrZ2rR4jI6tzu3SVSro52JZ5VKnw y+clCkfn2JK24tIT+9CXAweyI/s3LJgw8I6wKNKF/lq31TSO9f0Os7920dfBe4hifqv/ 5OjEz/BT5yChmAxWG5Do1UqsBew92YsMVihQ3TtvXQOFO2FmEClr61hu8OawunDRozHn 8SLT4SNYGoO/NUxnwtSF8r13y+W1qJoD6W6kKLJBO0wKGApEKJUyiUSXirzq3bGxmU5j sgIGB4QoQJ5Ri1+z+AImuMPQsJF3I9NTdkvLNifezB/MAw/t/Ip5qn1UeALGcGxcRFqa Ub+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qLPb0rF1Dt3X1DvsVBmSeBx+4HML3ynwhdIr7HhoUsU=; b=Ovp3DA7RKJXiql16TrdE0SM9j9uxsUyUiWwGGEyWA7H0tkLgO8ATCoSQvhssSc3Ebt uMfuxMURUZh4GC83+Qu4AQmDEaqYXdXnSwRcqrUUaIGe0qk4vFn/vvxGsnDL4UR9YQzW wkBAoemeWN3luULFyQIRb070FKfc2KkihOGRf0uxWUELeG7/+8ulejN2M+NfU8RMxQKs mYvCUYGSyuop7th0qWS6ZJHswm9M/JdAykrbtjS9KjhozWhUA0xc9Uy0+c9kfx8RUyv1 Kf3tbONJn/IZE72PpLe74gSAmTubpUNuD35/9XlK/A4eUqxmjOcJMN1TAWv57puwN6Nr NY3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uwY9shC0; 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 bc5-20020a056808170500b0038ec5748a17si13285567oib.337.2023.05.16.09.10.15; Tue, 16 May 2023 09:10:28 -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=uwY9shC0; 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 S234477AbjEPQIP (ORCPT + 99 others); Tue, 16 May 2023 12:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234484AbjEPQIF (ORCPT ); Tue, 16 May 2023 12:08:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1E96A5D1; Tue, 16 May 2023 09:07:40 -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 8A27263BED; Tue, 16 May 2023 16:07:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5741CC4339E; Tue, 16 May 2023 16:07:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684253256; bh=lW1KqzMPkO/9T0wNrsyzNB3eSEl+jR1P98K2oHwWTq4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uwY9shC03I2AynWTfn1puaMzrCGSX7be430QTqTWOKNohXLe5ggwr6JHKP7O2nN2g qiCEnugST0BGF47rkojJaxUkfdfPRlQ5mzv0KZhIq12lRPSVrtupbwbmVGHWpWYJrb ehiZYCgqEpEQiAqr6EKwDxql8aysv8TeanMehyUnvUsth2z8fch/JYXJBEtTolk2+N /GfwGQgP6o8mmjMavYp8tWYirmjyFfcePqV7bxvJO24FpXMEXW/MsfU3KWMBSM+7yT X4lPBPJhmkn0fpqSaq/30tF6ssHl4K81bUEbNDAeq8lbENAQvVi5pBVJMGofVDJPfr c6BeSkW9umwiA== From: Arnd Bergmann To: Catalin Marinas , Will Deacon Cc: Arnd Bergmann , Ard Biesheuvel , Mark Rutland , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Anshuman Khandual , Kees Cook , Suren Baghdasaryan , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, kvmarm@lists.linux.dev Subject: [PATCH 10/15] arm64: module-plts: inline linux/moduleloader.h Date: Tue, 16 May 2023 18:06:37 +0200 Message-Id: <20230516160642.523862-11-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516160642.523862-1-arnd@kernel.org> References: <20230516160642.523862-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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 From: Arnd Bergmann module_frob_arch_sections() is declared in moduleloader.h, but that is not included before the definition: arch/arm64/kernel/module-plts.c:286:5: error: no previous prototype for 'module_frob_arch_sections' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/arm64/kernel/module-plts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/module-plts.c b/arch/arm64/kernel/module-plts.c index 543493bf924d..ad02058756b5 100644 --- a/arch/arm64/kernel/module-plts.c +++ b/arch/arm64/kernel/module-plts.c @@ -7,6 +7,7 @@ #include #include #include +#include #include static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc, -- 2.39.2