Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp323140rwe; Fri, 26 Aug 2022 05:51:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Lyr4OcxjbQKYfxarUXjKjI3408PVm6mL30DnqNu6XLSHv1i2S1G/reafdLmeGFa0YYGZq X-Received: by 2002:a17:903:41d0:b0:174:3a49:3bf3 with SMTP id u16-20020a17090341d000b001743a493bf3mr3137682ple.109.1661518284352; Fri, 26 Aug 2022 05:51:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661518284; cv=none; d=google.com; s=arc-20160816; b=oLiPde1GbNHCeT+I5t9DanGf5gM+UVODkisBxvv1u7RVnqgp1w3+jHGYLpPG1Ibt1o zniHe0cO1dNvfZHmZHFdbO60e4qK5bdg79mSldspEgbnHjk40TeJ5BmtL3zd/I3onk2F +J3jmI69htI71xgahmUZEZ2Z+QJiDlXFkWA7pvvl1lSSUH90hSp40enhwjbS1/yIJqzp qSPdslW5pNHWRHy6UB488yYuigrR0OC6AHwyPHHfgPOMGzScaHS1Rn8nmkVneoqZu/+2 ea1VOFhAHp8a3EyrquRYW6sT9MazakHDKK0xJ3rfhVmY9itit+N0jnQ3R1iMg5hMdlBO 9QSA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=K5ruSlY1jCvxqbhtszXYEzO5axSbMBdWGm1jX5xAIDI=; b=EWuquIxvxPakmE14dgw5r1cbp3UMhDS/ip1EDLS7ul/qacr3vhFy0u/lc9iDqCVVfK kZP3Ib2krPZ6+BJ5WEfjLm4DH9HHezjklEEqY2FxaPdp8prrMcd4/VKkzssRd7uoWXsk V/GD60aESW5oRYpF8NLbk5txYn3g3LXm2dTwuhUfPXG6/vWQN+wA0bWRqyp/U5QrYJgn ejJO3P/EIAZFT+FShSnA2JhErbaKELAA6LPEsazuzXhIkjSyNpEXV3zs+3I7R3e4Vbdy mC7e/j/K79NPPAtVn19/vvVbv7flsCVSbb5JE/halG6wB8wL3Z7l0/7JwR19eYhccjts Lh5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=YDhK5SvJ; 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 u6-20020a17090a1f0600b001f27725711dsi1810455pja.58.2022.08.26.05.50.46; Fri, 26 Aug 2022 05:51:24 -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; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=YDhK5SvJ; 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 S245361AbiHZMqh (ORCPT + 99 others); Fri, 26 Aug 2022 08:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240616AbiHZMqg (ORCPT ); Fri, 26 Aug 2022 08:46:36 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D4CC0E7D for ; Fri, 26 Aug 2022 05:46:33 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id k18-20020a05600c0b5200b003a5dab49d0bso781742wmr.3 for ; Fri, 26 Aug 2022 05:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc; bh=K5ruSlY1jCvxqbhtszXYEzO5axSbMBdWGm1jX5xAIDI=; b=YDhK5SvJSWefqjsU2WPYj++ObRCDvVYTmwFRnA9yR2lyyCR/tnH5aDqVujU6uS9zMX m1qcVILMZ8TblSKP0hyA1JtbrsrYTDSiBDgAB+03OxNYGbKOB6vknSaDxKmoJYo+y2Hk kpoqO3qwq4EgS09hnQpN38xfu3gFTSWN36g0IIjZ+xTwjw/OufrYn+NWqzg0GXErZpNd jpi0BqbNCvTEvyMD0zA0+kc3Dp0wKrkpqOPEO53z6tdwdb9Ye15gXk/MMB8rPnIb8FHY ioOE6r+ywIRMauqPNdeG7rokoPe8SdXkGsFYRZ/QBF2powrJpXM5o+51PGzFQ4+MhrGN jyFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc; bh=K5ruSlY1jCvxqbhtszXYEzO5axSbMBdWGm1jX5xAIDI=; b=lksh38AA6aiLnh8ctwA0OHRq+lASUvwR3lE5X8dpmPxDKH7tfJMIZtDE52M3EgcfoL OtfPf6lob1bXTg5kHLWxOPHs72ZYmPU18SsWztzD6IaVdwv0EUQu4ukUBYjb9MOUTWsK S8JECJNrfeAFJtTiNKToWMzxYlg4obu9n7frgJXnwB1PzhPIpS9saMgmSP5nsv+yr7r7 JY0kfDBEzhOhc/7wKhCJZPrn4akeAE2hPCD7PrUfKikD8BaoGtSKzxgIgnEUvQAOoDfQ xB5uDU9Ngf4SQVROpk70Kp8owa0v3Aygxia2UfMdMRF42XXLMcMrSlWHzsyV2vyEGsyO 87dg== X-Gm-Message-State: ACgBeo19QRVcMw1ZvEGZou+7xsPAPlcLO40mq55Ylo4+bHsPj8IHmZCd UE0M562lstCIAPrSO3jCNEgpSA== X-Received: by 2002:a05:600c:22c8:b0:3a5:c134:1f50 with SMTP id 8-20020a05600c22c800b003a5c1341f50mr11466896wmg.55.1661517992442; Fri, 26 Aug 2022 05:46:32 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id b3-20020a5d4d83000000b0020fff0ea0a3sm1768406wru.116.2022.08.26.05.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 05:46:31 -0700 (PDT) Date: Fri, 26 Aug 2022 14:46:30 +0200 From: LABBE Corentin To: Jack Wang Cc: linux-kernel@vger.kernel.org, Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH v1 10/19] crypto: amlogic: Fix dma_map_sg error check Message-ID: References: <20220819060801.10443-1-jinpu.wang@ionos.com> <20220819060801.10443-11-jinpu.wang@ionos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220819060801.10443-11-jinpu.wang@ionos.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Le Fri, Aug 19, 2022 at 08:07:52AM +0200, Jack Wang a ?crit : > dma_map_sg return 0 on error. > > Cc: Corentin Labbe > Cc: Herbert Xu > Cc: "David S. Miller" > Cc: linux-crypto@vger.kernel.org > Cc: linux-amlogic@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Jack Wang > --- > drivers/crypto/amlogic/amlogic-gxl-cipher.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Hello Tested-by: Corentin Labbe Acked-by: Corentin Labbe Thanks Regards