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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E00BC6FD1F for ; Fri, 17 Mar 2023 02:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229597AbjCQCwz (ORCPT ); Thu, 16 Mar 2023 22:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjCQCwz (ORCPT ); Thu, 16 Mar 2023 22:52:55 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFC028A3B6; Thu, 16 Mar 2023 19:52:53 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pd0C4-005aM8-MU; Fri, 17 Mar 2023 10:51:49 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 17 Mar 2023 10:51:48 +0800 Date: Fri, 17 Mar 2023 10:51:48 +0800 From: Herbert Xu To: Tom Zanussi Cc: davem@davemloft.net, fenghua.yu@intel.com, vkoul@kernel.org, dave.jiang@intel.com, tony.luck@intel.com, wajdi.k.feghali@intel.com, james.guilford@intel.com, kanchana.p.sridhar@intel.com, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [PATCH 12/16] crypto: iaa - Add support for iaa_crypto deflate compression algorithm Message-ID: References: <20230306185226.26483-1-tom.zanussi@linux.intel.com> <20230306185226.26483-13-tom.zanussi@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230306185226.26483-13-tom.zanussi@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Mar 06, 2023 at 12:52:22PM -0600, Tom Zanussi wrote: > > +static struct crypto_alg iaa_comp_deflate = { > + .cra_name = "deflate", > + .cra_driver_name = "iaa_crypto", > + .cra_flags = CRYPTO_ALG_TYPE_COMPRESS, > + .cra_priority = IAA_ALG_PRIORITY, > + .cra_module = THIS_MODULE, > + .cra_u = { > + .compress = { > + .coa_compress = iaa_comp_compress, > + .coa_decompress = iaa_comp_decompress > + } > + } > +}; Please add any new code using the legacy compression interface. We're trying to phase them out. If your user is still using the legacy interface, they should be converted instead. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt