Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp234177pxj; Thu, 3 Jun 2021 05:31:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5Q8ENlm5KB9l8F7kKnkI1WTmpj2MtRR0NyFzDeEYC9agrBzox1tLjMdZEjSQwXUBlsa6Q X-Received: by 2002:a17:907:9607:: with SMTP id gb7mr1797837ejc.208.1622723468058; Thu, 03 Jun 2021 05:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622723468; cv=none; d=google.com; s=arc-20160816; b=znBj49x0n0exNCoLrrKxE1R/YQmlf82DfLxA9fnBWeqx0P4GjlWT4NLV9/eb5w1U/B MNirbLZn7Zm+vTmbCDzIHjW00jb0kSCeQRykT/ediYNDQDatLTIv7o7PPy5vGEGvWAGM i8gxd+bwzaA30xcV1S5z6QAFI0pqw6aexovSrCxLQquZkz2SJwUpuHxkRfqfMlVFzcXS Tieb7CM28REvRRDeCVFk7NO2Uf72VAy1BMmWch8a3GPB8HuFxSDpldcpe/1f25BYXrr1 vCXwZjIgT0FdPJ4lpVhCBDnSHvF5kz3WUcV4jFxUrM4pde6iDGugzSPGlh+n0ObNBxaa dYSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=hIVBwvqXGajcGXQJOZTh0XQ1FGOt7rCmtleDTbm81No=; b=rSJKXz1gvRrDZt4KNwEPSRwD+p/RLIZGNt9h5IsnxqTtRpDipkIjcSoT+Aw/TpPRqp 13KcoZ6JVKD0syLu+cZTcFWIIUU5+KH+9oNNOqbEmuGsm5ZeBed/wTAb+BEGGl8RC8f4 6VvD8wa+Whu14wOaNTT0wyzxOxbte047FAFqIZP9v3XrUIUt1+EkCpivAX28r4HktV1U 5R+u35vgVtwZrfX32g2CxxhrSrJT4GsrheJih3/S5m5UI6UVPnEg1+EpiO4OOjao9uvV u1ChP7Rxx1s0f9hvUfe48YkbNLnkmI+fAFbhUeIsQMA0GsT1epBv8WQDrAnuFUEtJweq H6Aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 n17si2166732ejl.429.2021.06.03.05.30.38; Thu, 03 Jun 2021 05:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbhFCMai (ORCPT + 99 others); Thu, 3 Jun 2021 08:30:38 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:60844 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229822AbhFCMai (ORCPT ); Thu, 3 Jun 2021 08:30:38 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lomSq-0001uy-Rg; Thu, 03 Jun 2021 20:28:44 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lomSm-0001bm-QL; Thu, 03 Jun 2021 20:28:40 +0800 Date: Thu, 3 Jun 2021 20:28:40 +0800 From: Herbert Xu To: Zou Wei Cc: wangzhou1@hisilicon.com, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next v3] crypto: hisilicon - switch to memdup_user_nul() Message-ID: <20210603122840.GA6161@gondor.apana.org.au> References: <1621849628-108717-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1621849628-108717-1-git-send-email-zou_wei@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 24, 2021 at 05:47:08PM +0800, Zou Wei wrote: > Use memdup_user_nul() helper instead of open-coding to > simplify the code. > > v1-->v2: > fixed patch title error > v2-->v3: > return the actual error > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- > drivers/crypto/hisilicon/qm.c | 13 +++---------- > 1 file changed, 3 insertions(+), 10 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