Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2074469rwb; Thu, 27 Jul 2023 01:21:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFWiF62QBygGwuYJrdx3bQEJo/Uwawu0QvNK4sLARP9pNHBzRfHeWWxVdaRRmwgpGd5le/X X-Received: by 2002:a05:6a00:1806:b0:668:852a:ffc4 with SMTP id y6-20020a056a00180600b00668852affc4mr4606670pfa.4.1690446110999; Thu, 27 Jul 2023 01:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690446110; cv=none; d=google.com; s=arc-20160816; b=rm2qjgyJ1spBAgy33anXLY88sNO/P2YTQZ918V9ayq3Rw1o4sbP1pcSI0D6suoUBZp amC5o0IS0hGDcOnwVwfrWR2EQV3oHxAWK/WotEi19M0qKc/2zkJxs6yfMgxKk2TUi4H9 /n+vEeVWd+b93cTDGd+FtVrseolcnAVBQiAsSg7WxiLzySDQgAyEADHP7M1QjVWXcDW1 W4jNASo3dQDhqpW+ss0xoddh48Q+v1fWHE/sjPHSrXVe4cPKCEqJYsHKYLmEfi71XPF5 swUg30+c/d+/m979ebYZWJgZaWT9l+NrD6CHS9DTyfRxeFTXWDTFv/bHGOrIVUWS1GH4 e/LQ== 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=X0MsZZEGfLmQhMGOjK2K0jpFcV1yyX2g2ACBbYyhk1w=; fh=vssFfJ/gI+3TRO/HrcteaddW69yC+1XcmFOc7B8nGR0=; b=Yj6FXUsEwZETCtLI897N8nqY2jIXTDbVkPM/5AY6pJtR6L7vhKJHXvczUJUlfAysv3 vk8IQJNyUM/Ef8cYLXFpBReAWenJZn/3TU69ufykUw7VXRKhkHRS+TtSCdbfeY6bjMCf CL2FaPCrmIZC5o2osVN3L/WuUccHuAbGryNJO94dVK1sfyq62q4lhM511hEZ047T5+A7 7UdUM+fVpS4LkMhQUjfjLbCOktFRYBxqF6vaPmkDz8GNihAzTPIvdbyBbSW//+AZleMc 6kD3dhta04YEinkCMUu/kO4nAX64owjrY8zoRIoMsnN3eAMpjid+rtDox9tngd5rDdIl 82Ng== 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 fh42-20020a056a00392a00b0068219eb27a9si1039403pfb.233.2023.07.27.01.21.29; Thu, 27 Jul 2023 01:21:50 -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 S231685AbjG0IOf (ORCPT + 99 others); Thu, 27 Jul 2023 04:14:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234330AbjG0IN4 (ORCPT ); Thu, 27 Jul 2023 04:13:56 -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 4184D5251; Thu, 27 Jul 2023 01:09:10 -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 1qOw2I-000YeE-6L; Thu, 27 Jul 2023 16:07:51 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Thu, 27 Jul 2023 16:07:50 +0800 Date: Thu, 27 Jul 2023 16:07:50 +0800 From: Herbert Xu To: Zhang Yiqun Cc: davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: all - alloc and init all req alloc as zero Message-ID: References: <20230727080548.8666-1-zhangyiqun@phytium.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230727080548.8666-1-zhangyiqun@phytium.com.cn> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP,T_SCC_BODY_TEXT_LINE 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 Thu, Jul 27, 2023 at 04:05:48PM +0800, Zhang Yiqun wrote: > This patch is to change all req struct alloc function from kmalloc > to kzalloc. Sometimes, it will incur some errors without initialized > zero. > > Signed-off-by: Zhang Yiqun > --- > include/crypto/akcipher.h | 2 +- > include/crypto/hash.h | 2 +- > include/crypto/kpp.h | 2 +- > include/crypto/skcipher.h | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) Nack. Unless you have a specific issue please don't submit vague patches like this. You should always state what issue led you to make a change like this. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt