Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp326370iog; Thu, 30 Jun 2022 01:20:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sCrpLYAUPb+shM1S/SdY+R2+SGrnXJXC6Arr7CG8xF33w0Sw980CMGSVK3nSRytZ2ft7rs X-Received: by 2002:a17:906:3985:b0:70c:a5fe:d4fb with SMTP id h5-20020a170906398500b0070ca5fed4fbmr7477970eje.127.1656577203324; Thu, 30 Jun 2022 01:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656577203; cv=none; d=google.com; s=arc-20160816; b=HQE4FhahsXT3Klo9IX5UAfCw3nW78FqLVthA5KpprGUXriIAlNTII8A/Aropyj0lU+ 98kZ1/nYXUZJoNx2xX0BqUt/6/1Tew7/eRmNkz70v4BZ3uxL6kf8GUJJUgl6w69Jhbfz JBNoXBQr+wKwyuWocfEMJzrskk6sVRx1PunZ1PDB6iy9cPPcXqJG+pyyGi7Qw3LRsudk WUhnsSjFYUvc8dxm1ncPEftSMjTcJ/kwfpgXfU3BE+sfSy7vcLHXNItMCfyUtX5/6acQ a+rck5sGDHPlnS9jK4ZMrrgG8lqxjj+BsNhAoPLkcDr7juaUJkJHo6A7QWJEsEeK3LVr qsIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date; bh=n56VAzJhpLb31sQlP++uRxaBna8cZ7+dlN2f2nwlLvg=; b=TVAFzEldMIIzmPDDqR1RrOi+jgCsmiGu/h3pksUiSpTyI33NvDsLh6xKZLkEcYDqe8 WkPSYlr630Nxq4VXbg9OtR8SATGpGdVJcKQ5aqLDMRCYXNFApu0ptB1OSinJvVjivdYG cQ9gSO4dHc2qpfa30FKD7ssREAv7Cd59Mf8lt8PA7e1ke2rr3X8uPqbmdv0wlB+XJby6 TwyI1eNrGw13tpkiaBwkojhHruzDv6voPwyFReA//vhD0RdvIUMSh2KGkcjFWfxo+kFG mqywqc+93PLIyhPmSEphkLaxj8XDiVox41ApA1l7VBJBomCa4pAM3Ect0+DevyuvNgZP Dzzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r11-20020a05640251cb00b004356a07ed0dsi6975446edd.286.2022.06.30.01.19.31; Thu, 30 Jun 2022 01:20:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233661AbiF3IPd (ORCPT + 99 others); Thu, 30 Jun 2022 04:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233482AbiF3IOu (ORCPT ); Thu, 30 Jun 2022 04:14:50 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99CF245505 for ; Thu, 30 Jun 2022 01:11:53 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1o6pHB-00Cy4T-7l; Thu, 30 Jun 2022 18:11:50 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Thu, 30 Jun 2022 16:11:49 +0800 Date: Thu, 30 Jun 2022 16:11:49 +0800 From: Herbert Xu To: Linux Crypto Mailing List , Breno =?iso-8859-1?Q?Leit=E3o?= , Nayna Jain , Paulo Flabiano Smorigo Subject: [PATCH] crypto: vmx - Fix warning on p8_ghash_alg Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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-crypto@vger.kernel.org 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 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]); -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt