From patchwork Tue May 16 16:06:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13243377 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E076C77B7A for ; Tue, 16 May 2023 16:08:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4Y+PG69MmmR04Cyh0aihuWNCWZgr3Bd1LP7TiT3XmWs=; b=BipxRaEZ15ldy7 IU8w0CyuBcd+wqzGZTr2UfCQJ81bWwcMzcKK+O72fnIzxsJ+n4Ug2D8LIw2Q2l4eY4dwLF3TLwyY8 eDBiCTNWGWrJ/saGbNuYUrjlWJhWy4BpSJpkw4L0fm8lpC/qx4JAfSPi0fO8PDFECmDWnyhIaKmf5 kjnSggoEhEcALtJDDf5eAhYE1c4HdxyVVfkgSq+Frl8g8KHxaYC1i98YZyigh01zAfX0g5TG7uXo7 arVwpXXfBsqZIJDZcuiVKR2YSo8CvjwfijT7ovFqpPcQ/vmLhK2FlnXe2f/Tl2yhw88DxRNrE7owC P56XvMJnZs3yXUKV7T7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyxDD-006Ows-0Q; Tue, 16 May 2023 16:07:43 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyxCz-006OoB-2c for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 16:07:31 +0000 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 58EB5633A4; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230516_090729_893894_40A71506 X-CRM114-Status: GOOD ( 12.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 */