Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2391103ioo; Sat, 28 May 2022 12:09:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq3ltGmbyLi6qmJr7gq6y8sAeZzaResMT4xInQlEvLiNSEmmnj+rOE5/y+//GHMv4ScR52 X-Received: by 2002:a63:85c8:0:b0:3f9:e8c4:1eb1 with SMTP id u191-20020a6385c8000000b003f9e8c41eb1mr31464038pgd.203.1653764989145; Sat, 28 May 2022 12:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653764989; cv=none; d=google.com; s=arc-20160816; b=A7cOJ+V+8JFIUOkpSUusEyRZtWocNOKsiv6gWBW0C7sh2Rw2ddaQXBwgDGfj8PmCM0 nYx0dCJRQyUGhW+h2js5GDeASBtJoUknFiQRudcOTS+h3V1yE3p+qPPPYHC+cfjvdQ2B LDLHCaDGCwHGIrApuRSIZ8dlrjk5YT4V587B+uNNHjukyw8jWMZ2X657GVnnbL1rgZmD b7ayWVMxvNyfDZqlHlla4N5D+8qOD7wmU386pX7/L773DYscegqh2i4f0yd1YATPXyS8 4blr9EkdnDp+IDiZ9Zf4NrvhVMAWJ1hp5HclX4Nm7YHJS5MVu9Zf77CN1RVwEQrxatH7 bz8Q== 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=VWS0F56t0fOBh5xypCh8zjIFc6hxsrgivcZl7H9F6LA=; b=S/0LqdJivRQUVLUrVDqjuUs2awxNG4mARxOaiJ6EdI9GbFN4e/BA0o9yKXFsl89f0v VsJwu6XgOyUfAB81QbDfzQt6fmgJHGIJ1w8lKcYv4n+fOlZlfW/KbZBktvou1p4sh60C ME+UpcJOKmSv+26IMfpuhAsx0VZno5MQnUgs9CHiiM3FR5u0L0aLho3xEIIfhDi3BM+c oYq0TGIPa9cfBNtSe1zolbpP4tAErm/7V/0HuT+m1PLZ33t3QbSxy0GFBHvwMEClsMJ5 +S3CtMD+PwdNPPo38wQ1RrInx96bpsHKYqAry+gHsdGlWst8q0fgmPjoIexC50cQ/riF bNEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PrzcA+32; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v28-20020a63465c000000b003ab0604a0c9si11083695pgk.561.2022.05.28.12.09.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 12:09:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PrzcA+32; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9545D3FBEA; Sat, 28 May 2022 11:47:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350029AbiE1NAs (ORCPT + 99 others); Sat, 28 May 2022 09:00:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344012AbiE1NAr (ORCPT ); Sat, 28 May 2022 09:00:47 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB4C0C2A; Sat, 28 May 2022 06:00:45 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id h189-20020a1c21c6000000b0039aa4d054e2so76164wmh.1; Sat, 28 May 2022 06:00:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=VWS0F56t0fOBh5xypCh8zjIFc6hxsrgivcZl7H9F6LA=; b=PrzcA+325+sgBUeqcHDmn4L7QnwPAbf1zUi8X9B3wbQZJnC2E/vNpDjRj9yQ2+/M6X hVZA9Y+2MxJCv7KC1+xrDmknqCIqW3gJtSRZAS2Qzec2WmmQD8x50tHxowFpb3Etn4ba Zj+s/97+ZBQSoRMH7FZzNJG8PVPcI8aqEhiY+P3fLEeKV0cIcMmSLFNcTrzos88B0AY4 0eZyGiZM/sva55q2UjkvlcIQIfZNO5ODCZZJrDhmOuv8TwX3rUlmzk8FE3H4Pc+RdzFb TuodlU/HaWAatNwwByVVIk8+jlDlvpwJ6CUK0JUIkasUQ5iMnHAdNhtriE7gJFy79oiv Zrvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=VWS0F56t0fOBh5xypCh8zjIFc6hxsrgivcZl7H9F6LA=; b=vpcTU1m/Nwi4DfC/YqL6orMs+eBc0ojz3vf2gkUrF9aMwdycjO5IZPowpK0ZziF4LJ w41vCAmfakIfb5sP7c050EFWT8wkJqvEHsOVtH4EucvTnMdEt1GpksTRhWeWT4TyfAa4 DvSKpCMGeFejyWwTwP6Q70VmasxViNn58dPKnlc8IvaSc7OJv/lyEyTmzYSQ+oUD2Eyo gXjxQLzqZrQBGMfGJ1vxsB5vgm0dID819f/rfnohlCeJwpNNFFqejZevBOdxCZI9pIjb oUIRE+WuwAS4Mix5c9SCjBw2WwPPDYt1hi3U57ZPdy6Rae3iFhHL1ZnU49jXkxTu4YMc as5w== X-Gm-Message-State: AOAM532XVFTcWfF54dO+70/LJNxx0vbWnMvhrsw9N8LGi/DLOf1DtlfW AZw923bOMZiV2F2sH4u6S7c+xjgqrws= X-Received: by 2002:a7b:c4d0:0:b0:397:4636:6bc1 with SMTP id g16-20020a7bc4d0000000b0039746366bc1mr11065865wmk.48.1653742844347; Sat, 28 May 2022 06:00:44 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id bw30-20020a0560001f9e00b0020ffa2799f4sm4045530wrb.73.2022.05.28.06.00.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 06:00:44 -0700 (PDT) Date: Sat, 28 May 2022 15:00:40 +0200 From: Corentin Labbe To: Dan Carpenter Cc: Herbert Xu , 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, May 18, 2022 at 08:33:44PM +0300, Dan Carpenter a ?crit : > 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 Acked-by: Corentin Labbe Tested-by: Corentin Labbe Tested-on: sun8i-a83t-bananapi-m3 Thanks