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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 2E066C19F2A for ; Thu, 11 Aug 2022 15:36:59 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4M3WBf2J9wz3bry for ; Fri, 12 Aug 2022 01:36:58 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=uvmXfE3y; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2604:1380:4641:c500::1; helo=dfw.source.kernel.org; envelope-from=sashal@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=uvmXfE3y; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4M3W9w6S4Zz2xJT for ; Fri, 12 Aug 2022 01:36:20 +1000 (AEST) 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 2BC4D61650; Thu, 11 Aug 2022 15:36:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAA78C433C1; Thu, 11 Aug 2022 15:36:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660232177; bh=6sRasSLSlcwEFv1YfjylIL2Tv62U0qLVFef2gp8bkIk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uvmXfE3yzDQ2z8xa2isrxo6r4DxPTOj3152u8+zQTqxCwRM0fPwgzocJGpeFIodzX O/ZziC2Ph1FI43IhU/YambZpzDp8IFkWh/JZbtuzrRoCWRxRCFfIiPh3DAg2rqMMmc J2XUtC7R6LMFtyZlp0ryigONVyZC23D7+Zwchiw9yfBrHLHx/3jls5lWdWpwo2rmVQ IaifRdqZV0RS9pcupmsCw8ay39HWHz4JCuRggSg4tyLzDIlFRq1Ta5YT2K7tNcN0RA NCKOgB9T2W6BL3oHQ/TLppDPlUBkuMQBtVdRAIXEMQhFnILx5V4TM9IAUXKm3Es4Sl RpfYH+LzEoBBQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.19 065/105] crypto: vmx - Fix warning on p8_ghash_alg Date: Thu, 11 Aug 2022 11:27:49 -0400 Message-Id: <20220811152851.1520029-65-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220811152851.1520029-1-sashal@kernel.org> References: <20220811152851.1520029-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , Herbert Xu , nayna@linux.ibm.com, pfsmorigo@gmail.com, linux-crypto@vger.kernel.org, Breno Leitao , linuxppc-dev@lists.ozlabs.org, davem@davemloft.net Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" From: Herbert Xu [ Upstream commit cc8166bfc829043020b5cc3b7cdba02a17d03b6d ] The compiler complains that p8_ghash_alg isn't declared which is because the header file aesp8-ppc.h isn't included in ghash.c. This patch fixes the warning. Signed-off-by: Herbert Xu Acked-by: Breno Leitao Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- drivers/crypto/vmx/ghash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/vmx/ghash.c b/drivers/crypto/vmx/ghash.c index 5bc5710a6de0..77eca20bc7ac 100644 --- a/drivers/crypto/vmx/ghash.c +++ b/drivers/crypto/vmx/ghash.c @@ -23,6 +23,7 @@ #include #include #include +#include "aesp8-ppc.h" void gcm_init_p8(u128 htable[16], const u64 Xi[2]); void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]); -- 2.35.1