Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp432007ybx; Fri, 1 Nov 2019 05:53:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAsF1hAfw4ghGUFGq9VZ6Z/PHYU4unU7T0OobCwNNBsIMbRM7I248PlVT54xwL0ARBSSOq X-Received: by 2002:a17:906:6094:: with SMTP id t20mr9599802ejj.316.1572612782320; Fri, 01 Nov 2019 05:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572612782; cv=none; d=google.com; s=arc-20160816; b=soeLdpd8PjvdAFM5RTgJd31ReG6V6O2mAp9x8GTL7HhD/dRKznOsc3hgFW05Q2C2JI 0WzxkVR5EGG6LRgoG8IqajJI9agbAmuLFO7QFprAP1LlP6drsmHDO2IwYUeObvNZG4pm Yn/g6njAHJJ5L/ooPZJvqQTuSpbvPKYSvEWckh2R7n8Sp+TGtPiVlNuonjWKJslPZuxR 9WUK2NSyA6NEaAmrLvdMwSPwILpO1UL6mYfx+aNsPDtY22eQ9WSg4OIX7RphCKyInv2u LZuyNZh1h0XmiL/2ii/rDTBEtV8Xt3PAyNwNgcxGqNGyc4H5cZbWVmSWvFjQc37EaXP2 Pxmg== 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=5kDHdGaAqZVxVSO+DPwW99XZq8iYZVkob3e0AtdnlHc=; b=E1Q4niPJ8D4e0CpOiei/zw7kQBL5MP3GGuEuPHAzQhcFVwznq5sFbvuC8aBewP2EXw 8wBwKQNsVruF48AdbvC7Ag7IwxocMsz9Oz+8u/LWt31ORP2qdwlS07N+R5bKaz9ZtVjV bujbIodykphU+KsimR/62cvrnRYOheZKjlciupnxbltbwt5VafgrEuHVvRMDsIkXtUUT CrKwF2aFW5HFQpxiS5FVypxfqfwysh6wbYTST91OSWsciBSPxvQS/5aAD+rSCDi/rYLE YtCylRy7KLh2VeQLw9/mwATHfNdUtup4NKKlU0NcaVqkDyBAuyrsacuFV04wldLgTH1T A43A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ICZ8mx+U; 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 y61si288482ede.24.2019.11.01.05.52.38; Fri, 01 Nov 2019 05:53:02 -0700 (PDT) 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=ICZ8mx+U; 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 S1726170AbfKAMwf (ORCPT + 99 others); Fri, 1 Nov 2019 08:52:35 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:50208 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbfKAMwf (ORCPT ); Fri, 1 Nov 2019 08:52:35 -0400 Received: by mail-wm1-f65.google.com with SMTP id 11so9262900wmk.0; Fri, 01 Nov 2019 05:52:32 -0700 (PDT) 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=5kDHdGaAqZVxVSO+DPwW99XZq8iYZVkob3e0AtdnlHc=; b=ICZ8mx+Utk3tKzJbdssh1f2AJtQ+KDk1XnZX+N4wsPjRdi5IRTCH7IcVOIIRk4dk4h J6Chf67SdhbX+qhKHNl1eB1HJfeCYlovuviQEwLTUXeO8Y3IZBKQilrL2Hmm+N0cUuCw t4VDIFa13bjoPB3G33VJdZmhRpPootgEVPG99Wx9y6Y5RhgRRtyYkI+sNyRHgrHINM7x Re2p2pPHaAfzt2uvFRpwEePm0oq0F14t/bjcBQhvzi3W6LksPuMU77u+lRVuGXhuXFyD l2ZJ6GIwhXnqndT8X7hXN2YMpVfsgFwZuVSwJyu9f4gA5Sx8px8RMQtYzXrreuRcRX8q 85tg== 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=5kDHdGaAqZVxVSO+DPwW99XZq8iYZVkob3e0AtdnlHc=; b=SuozDL9hWAGah0qi/qjcUN9CMbwwFJg/Qi4P0YOw/4F0jQO7qD3nql+P49aQ/aOD99 zZyi4eDRzPZr5UK9XZYW5FhAsthQ71Xyw2SgMugiyJC07PiQ70HmgUchFsxAxfF1NPm/ 46nQKTxEFI7h7nA96i2QPqgbVGI4OZ66+mGJUBleXQTXlw/zVXpQPC0b9KB8gvuxHD4w OZvX2FCg5a6BCcOCDkQ3d6x+tbhk/RnryfE8zT9azGysFvvQmRx9vaC25UXBzSbqknYH cL+ScN1z51izmmFNo87/WjLqR4ElWgWjZw01EXeERj+5U6DJl3Kbyp6e/vjNmpB8YjQG Qy6A== X-Gm-Message-State: APjAAAUpkxCZJx7Bx6KuHWjUzCt7kXWDToYDBii4AySlTa1vhNTDwiRi 3qhs20XCbgCpwSc9PLcQr+c= X-Received: by 2002:a1c:60d7:: with SMTP id u206mr10600674wmb.101.1572612751565; Fri, 01 Nov 2019 05:52:31 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id p15sm7907642wrs.94.2019.11.01.05.52.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 05:52:31 -0700 (PDT) Date: Fri, 1 Nov 2019 13:52:21 +0100 From: Corentin Labbe To: Julia Lawall Cc: kbuild-all@lists.01.org, linux-crypto@vger.kernel.org, Herbert Xu , Maxime Ripard , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: fix memdup.cocci warnings Message-ID: <20191101125221.GB3904@Red> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Fri, Nov 01, 2019 at 09:55:34AM +0100, Julia Lawall wrote: > From: kbuild test robot > > Use kmemdup rather than duplicating its implementation > > Generated by: scripts/coccinelle/api/memdup.cocci > > Fixes: f08fcced6d00 ("crypto: allwinner - Add sun8i-ss cryptographic offloader") > CC: Corentin Labbe > Signed-off-by: kbuild test robot > Signed-off-by: Julia Lawall > --- Corentin Labbe Thanks