Received: by 10.213.65.68 with SMTP id h4csp56024imn; Mon, 12 Mar 2018 06:35:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELsY7bpfP4O38P/bwUMNwDmDwz7nBiBMFjLj/jvGqi1Rsn4dUn4o/verQo3ihGwer1Y5MJyQ X-Received: by 10.99.152.10 with SMTP id q10mr6722837pgd.62.1520861756897; Mon, 12 Mar 2018 06:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520861756; cv=none; d=google.com; s=arc-20160816; b=LvfmEz6R1M/Y1G0xhNgEdE39wYy7eNk+TNR8tcubzzQECLANR30amkG9s4g0NRHFBc EhiQLZPliOyW3hc1Y6irins6i83h709EqNFj3EdkQ0Ciq6veaT2/i+FgdiAVSuqllzri ti/KclNWuZTIKvq2UrulLbtOwEFrmNXkkDJiAXwvt5pcs4H9YSFuiw4BX204oPXz90HO B+bfIhTVKmf75b4yWD3Kmv92ozljuLU5MVisxrDn/sOdkKyt1G38ltvHykn+jJ1SWwmq Clil7cdKHz+Sj3sDn3oFZworQolG2V5qUs/STNKvhfd40ezGFfSS7zhniW8HUS7YCmE7 i/1w== 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:references:cc:to:from:subject:arc-authentication-results; bh=zs7IG2dBwJ6KI40oxoHOZNW/i8tprRS1WpSDi4eXJw0=; b=VC53KUriXxd+xG1aGTAb3tZ1wXijMMHnUKogKFyXWnxHcM2lq57bdvxxpLZty/6KRJ aECMepEBVj2GHAaeXZqga4Os9fFbbYTW9nujBkqGAraVTwC3WGdarhI7ZEetrhY5WRjO X+Q/VIsvgIG+m6Ia9w3mPmqf5diokDBKroI6lMAWc5LpCgTpeosAFRIfWs06CTh2epcH SXl4YRDQlBVcCLHWWhua8gFUeLcfI/7SeJKdVYerYeAzI/V5shHTjntgha32NzzHXuJd S1Ny8TatfpUUa65MO4P7rPthAn5yTGfM9EX/Yy+44xeFqjwHsK0Vg7NYzap17x4wAiGf lhgQ== 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7-v6si5993297plp.18.2018.03.12.06.35.31; Mon, 12 Mar 2018 06:35:56 -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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751769AbeCLNdN (ORCPT + 99 others); Mon, 12 Mar 2018 09:33:13 -0400 Received: from mout.web.de ([212.227.15.3]:58085 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751320AbeCLNdL (ORCPT ); Mon, 12 Mar 2018 09:33:11 -0400 Received: from [192.168.1.2] ([92.228.18.148]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M1WtV-1egC4C0Pgv-00tQ0Z; Mon, 12 Mar 2018 14:33:01 +0100 Subject: [PATCH 2/2] crypto: talitos: Delete an error message for a failed memory allocation in talitos_edesc_alloc() From: SF Markus Elfring To: linux-crypto@vger.kernel.org, Christophe Leroy , "David S. Miller" , Herbert Xu Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <13bfdc03-1dee-2f1c-da8d-1e452f10c850@users.sourceforge.net> Date: Mon, 12 Mar 2018 14:32:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:yTX6GjMwDCqBcfVqXEbVb8OHo09bJKBHeSSFSRpIUVA6KEGkt0S 5TlAxecvx+1mSOtsxHazq11XR9HNNM4fS8C+A8wxmDXVVxagTU2qEFZqwNqYpPgjJ4fT1Z7 7WuYQg6E3RmNQkyJIjqCpIRF+DbC/Ys7TCHG8ncOcvdUlQPVkt4ksd0AQllMgk6tVc+1z19 pAkmcd8rNqetmKp0FlO2w== X-UI-Out-Filterresults: notjunk:1;V01:K0:0XbXKteoV0o=:2lxslNx7yYOQ7NR7M5u+or U5KkZXSlbgqxBHnEN1ZQzXg3mmgc0ibdDqNTLUw5yN5N0+mvE96JQ0OChsNifc3aKQOJvr9Ru llhPPuq/4lkzu3FCDtKeN8WCK1b/0z1gXEFC2tluOROOKHSEPbZDDPZ88vj4CQ1Il3+12Ybds BPjM8AsaSMbMppVSm6sp5eJHcww/vHs+9VpbQ+UIXPMO/fGVeLs3z8sMcBXhj3vex9uvAELw9 vzxTVKV5ucZx9Z7hjLpCJNrb5fG7jbx3vPM3O3U7aWSrLYArPHw2ZoAuB11evNsg/h69XtOta lxyPvmqZ0X/h5RIyw4+IQazPEC9qw0ISu/+Td6BeLJ9/geGsGp32huFwRhTUFY3QjPturl+8u Fq6RCdFTDm6gUVLPsKREh/slWE8Xv5SiOQ2KdUwbGVIpc5W+FYWuAL3OUzLjfTxMszVojnSlR A0KmWi/OWWPAgsA4IjIvLzJpw7mjvYxE7i04Qx7n8DOwlG5KY8gpKUGZNc4uVqVK7T1tCFCcF TPzsKhpegGzHiONDaff52n1Cpr8n3meWey8voh5IyXBdAi93CGZSxccT1JktSHAQpO27+1F+n NRYjoYhnIfjO6dCh7kL1slGC/XVoWac9lyKI7m07AohIQr1jpO/iBmLdyghMNFje40Ts7ihJB i0xR0yHsoz+a7kPwheHg7PG6XbyKxHc84sh3XBXG6rqFB7GXm79heRnXmZWZAXHR2zB6TWpbj VBe9vnJxAq4Xjikd7hoy+Z9JRmeAZ/LmRXBum+BQgjHKWGTLz/V4hsj8MjyrALs3CwAS90euJ faYcxDH6hjemdJRHw7BOhX2JfSjgmeq+uaVsI0DlV2R2KaJUQI= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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; } -- 2.16.2