Message ID | 20230516160642.523862-9-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp547689vqo; Tue, 16 May 2023 09:17:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4mHfOegSTk+DX2QG7/T590cL8+U52q4fLAcUB9gqOuTN2X8L8+r3rHDjMTIYCRUSPSfy36 X-Received: by 2002:a05:6a00:24d3:b0:647:370c:2c2a with SMTP id d19-20020a056a0024d300b00647370c2c2amr35623435pfv.6.1684253867642; Tue, 16 May 2023 09:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684253867; cv=none; d=google.com; s=arc-20160816; b=V1da2tFBHuKKW7unhvGTUIiaMLGrpvANgZ0vqZCdm7FmKi9470l8nqPHWL0QmpOg4+ 4ZBzWmnM/xJwZBI1NWwyvlyEljeMW/UajMWnJd8xpafZiAgz4h1DlCaDhH2DE9mueg74 sZ+Vb3r/DtM2i7CIOBAEEXXD+6Mgh1oH9E/5kvzRvKdXUyXvXqiWRog2s151kttRDNX1 ykNdkaMLENDUQ9E0IxM5Vw2Jj5meHBYM7nZZt7GOwY2xKtFyJByYen0M7Q0+QEowQLq1 nG/illUAxjvy2DzyhB+rpZ5qtN4s3rk2w452Ej86/iJ6pZChG93MPkZoaZHXsvh7HrgZ e5kA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020aa793c8000000b0063732344e2fsi19413746pff.190.2023.05.16.09.17.32; Tue, 16 May 2023 09:17:47 -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 S234172AbjEPQH7 (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Tue, 16 May 2023 12:07:59 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <arnd@kernel.org> To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de>, Ard Biesheuvel <ardb@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>, James Morse <james.morse@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Zenghui Yu <yuzenghui@huawei.com>, Anshuman Khandual <anshuman.khandual@arm.com>, Kees Cook <keescook@chromium.org>, Suren Baghdasaryan <surenb@google.com>, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766068183454264528?= X-GMAIL-MSGID: =?utf-8?q?1766068183454264528?= |
Series |
arm64: address -Wmissing-prototype warnings
|
|
Commit Message
Arnd Bergmann
May 16, 2023, 4:06 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> 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 <arnd@arndb.de> --- 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 */