Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp968825ybc; Sat, 16 Nov 2019 12:05:02 -0800 (PST) X-Google-Smtp-Source: APXvYqysPFZoWU3rWt0mPImXcRT06Wr2EXdGcKPtVFNe+WXsA9hqkcteFXiEOoN+/QCWBlf8w+22 X-Received: by 2002:a17:907:2122:: with SMTP id qo2mr12579708ejb.12.1573934702636; Sat, 16 Nov 2019 12:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573934702; cv=none; d=google.com; s=arc-20160816; b=ria47Q8OaD2dxIV/A8nS6PRQ+Hq6qaZpd3uTmzKSknVPIamnACPuHE2KQclxhw57vA v7Y3De8Slh1SKEDBg2GDDKuQp0x1oi1VfPXKk0sTo9fMiN5P2Rd8XFRH4diQAH7uAFh0 cK8lrWPbpJNN3JbtKKNEEeF7fLHDS3Gw+ICCWniKfHwLhz2oULRIdyt8Ymu/VkztaJ2Z F+3hHPb09DJgqg0bdaxDTr/MaJSM1nVGkwxw60DeXjY0Js94zxEa25jT8BqObVmixOeH gTkEPmacCKdGFL4ixpC875YXgjWUCbe8eSSMkCMjvzwEo4svO3l38wkLhDBIPFuy6cHI yuXw== 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:dkim-signature; bh=kF8bADSuYOyZZ04T0VZZ38WxPOWk9q6i2kAOnZ54aEI=; b=AqzFfj28cfTCt7gNQ/7sWvSNyYZ0Ntzc/HM35Ym+LYHEh6xyBYqhbOuhpPPq0wkIwz tXsqkeVojDTw2CqsxJmMNryxTLzuFq0C0OzjOkXGRoF0fPj1uFGde5xHZ9TEdTVojHir Ck40q//CnHXPyArTX2u7W7tbLz5szs3jwrP0Bg5jrQCcNQDcQRzMqlG7nEVc/OGWLpyA WgBu/inKpaN2iajhZiUG2X3qnvIjFgV0keNlkbicH0XwCZxAEwsgfFt9AVQw4jfyGgsp b8fhMUDPK4Vi4qdt409ZLLRB6+q91rvKsvkOGVIfxqU2iHoPL0OX+g7sxhzrAyrNngoX hVYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eG8Ac8nL; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c25si8262209ejm.224.2019.11.16.12.04.13; Sat, 16 Nov 2019 12:05:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eG8Ac8nL; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727591AbfKPTry (ORCPT + 99 others); Sat, 16 Nov 2019 14:47:54 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36006 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727473AbfKPTrx (ORCPT ); Sat, 16 Nov 2019 14:47:53 -0500 Received: by mail-wr1-f65.google.com with SMTP id r10so14956323wrx.3; Sat, 16 Nov 2019 11:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kF8bADSuYOyZZ04T0VZZ38WxPOWk9q6i2kAOnZ54aEI=; b=eG8Ac8nL9fJJ4dAxSlZ5w1mlOPQ/aZ44+2vKtS/iCw26fv8FTKt6AqpoUMiPu3pOBr Wm46KJ9wUiA9nhrMoDOjF80R3DNyRC8bbZ/wono9/fKwCBzuAqiDb20MjxrXNtAsY6De xhEIgdFubj2LpSMBCDZZAdpMbZAbYZhggITGNS/o+rMfp0jaNipFl4Hq+nFiJVhl+1Uh 0JpZbxWG3JUXhbZZ4U7Huzleg/97V3LYFyoVYvXQYTG120n8YyULMVrGXOmtuuBGJeoT qlr2Fgp4DE3rpVMiXtX2fj8CKHK2833jMMxeacBhAk5/2WzPrTakAsOuIGzxz3DJPKcy 1KuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kF8bADSuYOyZZ04T0VZZ38WxPOWk9q6i2kAOnZ54aEI=; b=BHMW4R5RfhWANla4+AW2CN3TKIbko+oBe+Vpfc7jk0Jbhlj0pIA178x8Aisuwc74XN I3HpXaaKZ2wD0WgZg4vP5hTwqPeb0IGdG49zqaBGxJZlcdiMdlfRtlIn8A2DcsUo9zQm KtsRMqWQ1AQm//bmdcpPvsJG/bL9sBHfVzMGopwViEYhLFABGtaQK11zawbTFk703gk5 DrNh/mYxiFG5s6kDJh/KUEgfryAG2odr2TKS+EmD1g/+i6mQocwgVHQWduY/7ggGMwOr IMQQuW0HETh+/NtOPC0kaPp1XL/MVb3ELyH7vAmV5E+2kbSXLLv9VjEFpzkLcPabPOt5 laOg== X-Gm-Message-State: APjAAAWqnyutIzTALx0eKB45Lg6EP5KygeLTV5GaoAvf/DntzU/S0vd0 O3ZxzkOOWproGaA7Mg4B5oc= X-Received: by 2002:adf:8543:: with SMTP id 61mr13202158wrh.171.1573933671822; Sat, 16 Nov 2019 11:47:51 -0800 (PST) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id 76sm15319821wma.0.2019.11.16.11.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2019 11:47:51 -0800 (PST) Date: Sat, 16 Nov 2019 20:47:48 +0100 From: Corentin Labbe To: YueHaibing Cc: Herbert Xu , Maxime Ripard , Chen-Yu Tsai , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH v2 -next] crypto: sun8i-ce - Fix memdup.cocci warnings Message-ID: <20191116194748.GA23118@Red> References: <20191109024403.47106-1-yuehaibing@huawei.com> <20191112072314.145064-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191112072314.145064-1-yuehaibing@huawei.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 Tue, Nov 12, 2019 at 07:23:14AM +0000, YueHaibing wrote: > Use kmemdup rather than duplicating its implementation > > Signed-off-by: YueHaibing > --- > v2: fix patch title 'sun8i-ss' -> 'sun8i-ce' > --- > drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > Acked-by: Corentin Labbe Thanks