Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp912667rwd; Tue, 16 May 2023 09:10:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54SnjW8vkk2LqjaQRnv1wePY9bPX9N5DhOPZHoGFO7sk2seBX4Oz0ztDOqYnjFB8ReB42l X-Received: by 2002:a17:902:e852:b0:1a9:433e:41e7 with SMTP id t18-20020a170902e85200b001a9433e41e7mr40880141plg.43.1684253420725; Tue, 16 May 2023 09:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684253420; cv=none; d=google.com; s=arc-20160816; b=juSJ6OXoW1uyoF+tiuMeV2ihfFok9xZ2Mfas1dBsbegw8aBYFiSBWDPFnUgbeN1Pn1 GoXRj7CPNJ8FuzyruDQQfFs6IyJseeDDlOArnQCF++amajKUL6PHKpEnLKI2Pt8AQ42W A/AgcTO6k67GbHWyPxuu53wa377oFTp2cIaUD5CgtF5LCrOj/ViTv1KCYVTFkaujEO7b DsFOScWdduPs7Vm1BeA9FLbuRE59LSfyNxZC8xpKctX8zuxN49GXkruMH6jb0D96yMec GfaYCmQuzAWtsfdQD1z9HFBuDGMmVplzqUvoFn+zg5OpWp7UpUIZmohxntyU7UrhSPGX skTQ== 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=BeG9Pu+mRzuqSiWmbxXWxBwTmDbIRlAzXxEI0RQvevU=; b=S1Qnc54JsE6X4KHxobsnVmsY/IghIMTYktuLK01INHEtQUwSaX673vB8yQsBL4b6zV hlWLOy5jjSmO/9MREAm0D13OxAN6umEA3ORvsVjsBclvRNseWgfLpXOsfEmOPGDQ18bW n3rWYWxEisPN+VK10W/D/tnMGQfCue0fQINLSsfYkzPDFvIWVz4is9DzP845OKtFVJZ1 S5m3pnq6qk2QGRgyiQvAWb9IoM9fEmAG7HZDf8R3ayvg9SMGiCYB+yjCTtsrH+Un3ez6 XwU6HHZkOuLs4sA0ZpfnLRSU1zGhT2L83w/k4/Zkboji1zrRaUwFH+1VAjR8UpBdPaQQ +zXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s7wApvnm; 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 k3-20020a170902c40300b001ac6b926624si20557007plk.122.2023.05.16.09.10.04; Tue, 16 May 2023 09:10:20 -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=s7wApvnm; 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 S234463AbjEPQH6 (ORCPT + 99 others); Tue, 16 May 2023 12:07:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234467AbjEPQHs (ORCPT ); Tue, 16 May 2023 12:07:48 -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 0F68EA271; Tue, 16 May 2023 09:07:30 -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 6144863BE7; Tue, 16 May 2023 16:07:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AC90C433A1; Tue, 16 May 2023 16:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684253248; bh=sgkiqqqqA8+9eb3Dgel5ketA1Ml0WAGFOlqXJkNUjw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s7wApvnm4Y80nrgtT6TInyxuw6OxnXJUv1/2O2vn1woz7HNAJXOYYApw7kNNsH9yQ Zt3sf3N2/vjQHZpO1OddhDW41LmD8mGdLwXNui0WLbEfJL0PHHFipo9tDTuy0nxLUr NrPvMTL7WVBX3o9roK7/baG4LKv5EYd1ZrxbNAwBgEslON/WIUWXhneHvQMZ0+tEfQ bC5lfIsMuwVzS/Vj8aq7XPOlabHuVyl5gI1hz+e4OWv+aoPddnZkOLzFsKl3s8nP54 ZIZ1pLG4d/DrxUTAtgVLEpAoynRpx5TOFLmsj9LlHJVFS0TVV2AOw0fw73vYqkDDzB hbb1GBpxuRd4g== 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 08/15] arm64: efi: add efi_handle_corrupted_x18 prototype Date: Tue, 16 May 2023 18:06:35 +0200 Message-Id: <20230516160642.523862-9-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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 This functions is only called from assembler and lacks a prototype, which is seen from this W=1 warning: arch/arm64/kernel/efi.c:155:25: error: no previous prototype for 'efi_handle_corrupted_x18' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/arm64/include/asm/efi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/efi.h b/arch/arm64/include/asm/efi.h index f86b157a5da3..ef46f2daca62 100644 --- a/arch/arm64/include/asm/efi.h +++ b/arch/arm64/include/asm/efi.h @@ -166,4 +166,6 @@ static inline void efi_capsule_flush_cache_range(void *addr, int size) dcache_clean_inval_poc((unsigned long)addr, (unsigned long)addr + size); } +efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char *f); + #endif /* _ASM_EFI_H */ -- 2.39.2