Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp425495rwd; Wed, 7 Jun 2023 01:42:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6vmpk2k1kzdzHKLXufOKpGyQOARJZoIU0gB7kKKr/5OBs/1ZkYtti2Z5W1iEmzg1d8uoR3 X-Received: by 2002:a05:6a20:8e19:b0:116:1cc7:ada with SMTP id y25-20020a056a208e1900b001161cc70adamr4547702pzj.6.1686127362970; Wed, 07 Jun 2023 01:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686127362; cv=none; d=google.com; s=arc-20160816; b=Fo4XwzThf9X/D0HOxj1d4gPLqBTcC6ziDfWpKrARuCJGywOyx+mllN0vlxgqL5kQPR IyggYN1YvpiqaG07ZZQT4kv8Inohb1wIWK/kBWCgXIAk7e8T/BFTDhhcCIYvMDc9S6SX nHBVL/L4haE6SPaIAog9nxtqmJ/6ewBVwRG8gmvPXDHlZh8B3Hlin+C1GIwA5TwpP/vr c6RF4v5AdqKnoxVYIn2H6JpQ5QRLElHM7zBxxArrl3jmtQXh9oBfsyuSfyaPnVzOUpoY f+/UvyLuNeo3Gv5ujfPnnFci1rLuXtLD5IEp5vaDz51S5Ipm5a8lHHv/I0O4qNe0Rz16 PV5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=JUNEGGQ0t1sdX/5tQnSAkp6KThGUUYVpmIywkvceD1I=; b=jC1qx0kMQ28Dwsm0YsuPszoPYbwQ5QitEqag7SfshZU2Ern/evgcvZCMBnBOj6tu/s fhYpjwVPZ7AUnUCbuN8nXIR6LruHP9MekqZ6C2JR/EAmdE7Amj7/b+dWSPOCKy2jh3kb nI7xJ4nTQuicJF4ldcq4/BRjTcJpqdWhfm54Zxkxs8wUSuWBq+XrhTNEvFPr0GlGWz2T /ifd8GPCPWl4KCe01IJDpHJXxBfTsoQbgu2HgUQ9d69Y56+pz6+SdKDPNLkZyTStET5U E9gL7CFmAKT7r+6pyCgwb2encVCE62KfYIKTMiQ6hKtH7lF0wzacF+TiM+nq/rMyLbNx z8kA== 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 p13-20020a63ab0d000000b0053ef1799a71si8370851pgf.399.2023.06.07.01.42.30; Wed, 07 Jun 2023 01:42:42 -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 S238879AbjFGIla (ORCPT + 99 others); Wed, 7 Jun 2023 04:41:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238886AbjFGIl2 (ORCPT ); Wed, 7 Jun 2023 04:41:28 -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 EFB4A1988; Wed, 7 Jun 2023 01:41:26 -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 1q6oj5-00076e-QK; Wed, 07 Jun 2023 16:41:08 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Wed, 07 Jun 2023 16:41:07 +0800 Date: Wed, 7 Jun 2023 16:41:07 +0800 From: Herbert Xu To: David Howells Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-crypto@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 06/10] crypto: af_alg: Use extract_iter_to_sg() to create scatterlists Message-ID: References: <20230606130856.1970660-1-dhowells@redhat.com> <20230606130856.1970660-7-dhowells@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606130856.1970660-7-dhowells@redhat.com> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 On Tue, Jun 06, 2023 at 02:08:52PM +0100, David Howells wrote: > Use extract_iter_to_sg() to decant the destination iterator into a > scatterlist in af_alg_get_rsgl(). af_alg_make_sg() can then be removed. > > Signed-off-by: David Howells > cc: Herbert Xu > cc: "David S. Miller" > cc: Eric Dumazet > cc: Jakub Kicinski > cc: Paolo Abeni > cc: Jens Axboe > cc: Matthew Wilcox > cc: linux-crypto@vger.kernel.org > cc: netdev@vger.kernel.org > --- > > Notes: > ver #2) > - Fix some checkpatch warnings. > > crypto/af_alg.c | 57 +++++++++++------------------------------ > crypto/algif_aead.c | 16 +++++++----- > crypto/algif_hash.c | 18 +++++++++---- > crypto/algif_skcipher.c | 2 +- > include/crypto/if_alg.h | 6 ++--- > 5 files changed, 40 insertions(+), 59 deletions(-) Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt