Received: by 10.213.65.68 with SMTP id h4csp76837imn; Mon, 12 Mar 2018 07:14:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELv0GzSHLOfdUF33IJit0e6kH69FsR0YdyhHqmi1IWfIJ48o7OfCK2gr4V8VbyyIjz0fEMgX X-Received: by 10.99.110.199 with SMTP id j190mr6737600pgc.404.1520864095110; Mon, 12 Mar 2018 07:14:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520864095; cv=none; d=google.com; s=arc-20160816; b=jPjSi6RHy1v5uWxtMD5hE4X1hRYh53AAe022H2RJUaPyQx2c0ixcUEYsCoR8ztnDRy Nzo+h0J/jMV5yksGrswks2968wnhH6ZQctbj/WnEEnuniNJSXeFvNUdABmNwgCubZbCL 4/JvKByI2z8g75mE/P7MGCK7vpOkbXGZGum9E9MqH8KL461gDSctEl4LVeDp6kfYfDSl yQ/z932fiqu2ZllReMsX4dMp3NHbnkBsFxPjBp2VOe2qGTYzIj70yu4nY0GM6/I4HBvk EDpq7T3EyevRV1E+koTQjzkrIDrQuCZ0e1aqpjkf5hnUtH8k3FxraoNojI/Jpj0Ik1Cf C2Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=9Sqv6O+sPg7lQXLfBALSFX/8tN59/Ax1zB4nf82ywj4=; b=GSkjndwjBg1ptq/2y6tsi1IR7ggIxPzp2+kBT6qiTwBNKKxsziZ8smSVti4cLl9uRo DVEo0P1XgdjIQWjnq8yY4enM6oeXFf59iyReJyXiWTd6l18LipxPr92omrR3kwL2eDfG ip0GIAq7Lm1em97DCc5axM/16jSqtN1GDOoLqAzXjyCXRIcr+0sSyGc8h2VOGlphGRUa CpvdZT3vK3LcKUzYMZL2Yooymio2e2cTOsi4G0rN6IKiWEBfaMn0y9v6NdLP3EfX3xzg 1r+Nw3/jvu/0VOb3ZIGTnqqGOtoJ+xVKHgBu7pC4p+VaCqm2tU9jfcpLl5RUIIYdasQR ukeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63si5851932pfg.239.2018.03.12.07.14.40; Mon, 12 Mar 2018 07:14:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751255AbeCLONK (ORCPT + 99 others); Mon, 12 Mar 2018 10:13:10 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:43133 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932509AbeCLONG (ORCPT ); Mon, 12 Mar 2018 10:13:06 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 400KhC0ncPz9ttFP; Mon, 12 Mar 2018 15:12:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id YZCtXZBFxAJ1; Mon, 12 Mar 2018 15:12:59 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 400KhC0FHYz9ttBV; Mon, 12 Mar 2018 15:12:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id DA0108B84A; Mon, 12 Mar 2018 15:13:04 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 3Us_VGhdE7At; Mon, 12 Mar 2018 15:13:04 +0100 (CET) Received: from PO15451 (po15451.idsi0.si.c-s.fr [172.25.231.30]) by messagerie.si.c-s.fr (Postfix) with ESMTP id AE35A8B82B; Mon, 12 Mar 2018 15:13:04 +0100 (CET) Subject: Re: [PATCH 2/2] crypto: talitos: Delete an error message for a failed memory allocation in talitos_edesc_alloc() To: SF Markus Elfring , linux-crypto@vger.kernel.org, "David S. Miller" , Herbert Xu Cc: LKML , kernel-janitors@vger.kernel.org References: <13bfdc03-1dee-2f1c-da8d-1e452f10c850@users.sourceforge.net> From: Christophe LEROY Message-ID: <1dcf05e3-1552-68b6-96cf-c5b57cd68e03@c-s.fr> Date: Mon, 12 Mar 2018 15:13:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <13bfdc03-1dee-2f1c-da8d-1e452f10c850@users.sourceforge.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 12/03/2018 à 14:32, SF Markus Elfring a écrit : > From: Markus Elfring > Date: Mon, 12 Mar 2018 14:18:23 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Reviewed-by: Christophe Leroy > --- > drivers/crypto/talitos.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c > index a2271322db34..4c7318981d28 100644 > --- a/drivers/crypto/talitos.c > +++ b/drivers/crypto/talitos.c > @@ -1399,7 +1399,6 @@ static struct talitos_edesc *talitos_edesc_alloc(struct device *dev, > > edesc = kmalloc(alloc_len, GFP_DMA | flags); > if (!edesc) { > - dev_err(dev, "could not allocate edescriptor\n"); > err = ERR_PTR(-ENOMEM); > goto error_sg; > } >