Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1194721iol; Fri, 10 Jun 2022 02:16:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFK4u++Nbc8lxPoWYslEjwXyS8npURGSdkOglbmeN5RUHGrfBmEZTqaVuC8eNrBg1RkrPh X-Received: by 2002:a17:907:97c4:b0:711:d56b:4eb7 with SMTP id js4-20020a17090797c400b00711d56b4eb7mr20278052ejc.410.1654852569165; Fri, 10 Jun 2022 02:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654852569; cv=none; d=google.com; s=arc-20160816; b=0FULocxOJHktTLakStul9xhV93FnwLj51fhASG4q5cdK9dOs05ohTQOVnDQoW25plw sOt/LQV/rhTKNvx4lQlYIK+0wGGa/RyqJolgPf1y07q1oaSvQi1QHGP733lKiCUN9Ikz 9WiM+aaiTx1e+yrl3SYDv+gYduHkMfEi6tau7oj9zxN7YoLanBrzY/D/SDot2wYFD+X3 Xg6nIE7/csFXOLjWqlMmKQ153zyGXlSHE/9h3f0Bm+jbrgXj1oO293Bul7kncpS7NxkG pcvWRB+0WRei740whuKae4o2BJF26oKEEMUFQhNjQkzstvRVYhmf81OGXY49gTklKCIr OZAg== 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=SG53x4Yt9Xf/PsbPUky1GZaCsFwK8vyJDSreRkzme5E=; b=kzF8POC98geyjWdfvlfrDgQwb9MjMmBrw9eWkNZzA3uT2cZEZ8qn9tVDVbRThB+imz ahNRku1pRtkKAg/8ZvOvqFwYsm6fD2C6PPnxj50y3+Ibpuh41j3wtD3N8nfi0pbWSO3j SqwWfpNHSLY2dOmh2WtZVs4O2cH4krsFIN7vzpZzrynjqLROydFEuANVQ00p2SQ1mf4Y 4C+3dKVdVM2fWcaRj68lUAE+wSDYx3KhC2FSnTLNq+LTAf7UN3wQswSmgADLs+RWxk4B RsMVt4t/Tr/n1BfkwjiVgrLLQVOuqyJpyhqFSXKHNcthF9kXSy8suE/3tv0M7GTPBZce ka5w== 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 hs6-20020a1709073e8600b006fe8e64d480si9239444ejc.701.2022.06.10.02.15.43; Fri, 10 Jun 2022 02:16:09 -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 S1348682AbiFJJPR (ORCPT + 99 others); Fri, 10 Jun 2022 05:15:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347894AbiFJJOx (ORCPT ); Fri, 10 Jun 2022 05:14:53 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC32823C64E; Fri, 10 Jun 2022 02:14:26 -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 1nzaiX-005MTC-7Y; Fri, 10 Jun 2022 19:14:10 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 10 Jun 2022 17:14:09 +0800 Date: Fri, 10 Jun 2022 17:14:09 +0800 From: Herbert Xu To: Dan Carpenter Cc: Corentin Labbe , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , linux-crypto@vger.kernel.org, linux-sunxi@lists.linux.dev, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] crypto: sun8i-ss - fix error codes in allocate_flows() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Wed, May 18, 2022 at 08:33:44PM +0300, Dan Carpenter wrote: > These failure paths should return -ENOMEM. Currently they return > success. > > Fixes: 359e893e8af4 ("crypto: sun8i-ss - rework handling of IV") > Fixes: 8eec4563f152 ("crypto: sun8i-ss - do not allocate memory when handling hash requests") > Signed-off-by: Dan Carpenter > --- > .../crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt