Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp64046pxa; Fri, 21 Aug 2020 00:57:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+0eia0iSKN0Yhbs04aBYcs+7ST0U4YLLvKKkDwBcUDO6EJOgtkb+i3oZGQqL8dxXm/N/L X-Received: by 2002:a17:906:e10e:: with SMTP id gj14mr1825870ejb.218.1597996640222; Fri, 21 Aug 2020 00:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597996640; cv=none; d=google.com; s=arc-20160816; b=oVES3w3tED4oXTdsTU93Nw681TmcM7EakZQxYjUXmDYsuRXli+wB36qi2s/bEu/m2i 9v8dUU0xIj/10ldX+QIF6WHILV3QGznwpJjbm+NS/p9BAc6+fKIIkjBS4tzwaJCr0nQ5 pMtS+IYZ7YJezG6Q0aArI5wqeJeC3p3cBQgdnG3crD9LJ5j0rfeCIh/6pvvDUt/0/ryN Q4iPRaoNq98Dm9Nf9sFMsdVr6DEpUmaQb/TlqCDKy6OrUeCdQW19ncEbf8hU/Wal7UX6 yceUFM8EB3a9q4CyoxWHYQqZdypbb+O6waNGxkRlj92ShKw95aF0HhROpMMqKzty2vPX A2SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=J6coO+PdGM4LUCUj+x6QXbmytE2krLosVvgGRpa4MI8=; b=Y4DS7+drSuyeyc4nayQMYnGWTxIxDNFLGobvdOqeVB4+/LIqHifzt0zhBCUSODmXzy 60RSFpXSIUHWy9VnAmfAJgK21n/PzmIAfHXJIWc6ZLoxXeESgOnLuaSB8DHJJl0qg9uZ vQHBlCjCaE32E0dLjJx0atCnnq9kz62X4apdnMbYjQrUtAVzx4KtQtViLwx4baB04i97 vQ20Jt3LuLxsOJ+NLEBqTJ56BVo7wyMj0qFyuegh2rQEg+Lb49ARHTP627XTueZJhhnk B0B0O+rLaKfHbg8tGPOWHss7em2ibSPE/YRppGnJDCYMnztZK89imIg4M6oQfwVUKI/d rQPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e1si713580eds.65.2020.08.21.00.56.56; Fri, 21 Aug 2020 00:57:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728236AbgHUH4N (ORCPT + 99 others); Fri, 21 Aug 2020 03:56:13 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:49944 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726864AbgHUH4N (ORCPT ); Fri, 21 Aug 2020 03:56:13 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1k91tn-0003vR-O9; Fri, 21 Aug 2020 17:55:44 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 21 Aug 2020 17:55:43 +1000 Date: Fri, 21 Aug 2020 17:55:43 +1000 From: Herbert Xu To: Tianjia Zhang Cc: davem@davemloft.net, matthias.bgg@gmail.com, swboyd@chromium.org, yuehaibing@huawei.com, ryder.lee@mediatek.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, tianjia.zhang@alibaba.com Subject: Re: [PATCH] crypto: mediatek - Fix wrong return value in mtk_desc_ring_alloc() Message-ID: <20200821075543.GD25143@gondor.apana.org.au> References: <20200802111532.5110-1-tianjia.zhang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200802111532.5110-1-tianjia.zhang@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sun, Aug 02, 2020 at 07:15:32PM +0800, Tianjia Zhang wrote: > In case of memory allocation failure, a negative error code should > be returned. > > Fixes: 785e5c616c849 ("crypto: mediatek - Add crypto driver support for some MediaTek chips") > Cc: Ryder Lee > Signed-off-by: Tianjia Zhang > --- > drivers/crypto/mediatek/mtk-platform.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 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