Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2574689ybb; Sun, 5 Apr 2020 10:58:04 -0700 (PDT) X-Google-Smtp-Source: APiQypKxKGMuynKQDGyPAvXmlgCg56wiRSJKkAPn/Tobhb69SSS3tjrdBB/6kkDTSYSeUwuUdkp4 X-Received: by 2002:a9d:414:: with SMTP id 20mr14942506otc.300.1586109484586; Sun, 05 Apr 2020 10:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586109484; cv=none; d=google.com; s=arc-20160816; b=LEX9GHx5EMEmMPqu3NcONOFMU0mxsrGjpiO6RmTqW4gMUDXfjhXjFMn20SA7QoTKej 7WISi0zapkVB/qHECbT824BlJ+3NNNQliXbdYaU7ejw1oV6Vfoql9KijJHvDzo8DjO7E oxIFtP5OPcditsPN39PuEYtT0h4Fbhekn50QVW4Umq4d8iigcY6IwpLIPi2p62jiPHDG j6xcEM4isNcwkTLEjukLzyTG3vetCLHAnWviKsRO7q2CYN9CDEEySBZM9UYaESJQ2v7U fjGyc2E+VSGBXaLvyWmJm4zoDZVDEizx1Ga7nGbObNriI3OlEFifWitQkvugWy5SZbzC MbqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=baFiJWDIXcDbqRxwMJ7sjjGENTtWwfmj+QDEOMNAPIY=; b=KnG+7QugjNi4u5IyUrvbkdkxJ6qlstvkkJQcY4RZ+aFBsVsXdw3f+Zx4Ob3hNiBhNO hDgQB0YWjTfzfC0pOA/wgaW94VyWg565tbwpHN2gC8ZFtCIzAZ2TAAuzygJxVkTK2b1Q vPy9LjGQhzoco73czUPcvvob2oDPo5DhqOXSkhMwv+fgqxEB2IK79cIF/l/icr1iLqBr IOuf2r9iMF3uaJn8s2xw8EOucpkAOzJqqlQ0wVI0FXR76VrkedFwPXjw7koFpMsd2Cfs ZM9BVFUw8qMn+Qcb666VJ/2a2OzwSpyEvvauaVjQ5wrOyfFCyhU88WoiX/N9pSeENstz x0UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ew9379n9; 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 i20si6322056oik.180.2020.04.05.10.57.37; Sun, 05 Apr 2020 10:58:04 -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=Ew9379n9; 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 S1727075AbgDER43 (ORCPT + 99 others); Sun, 5 Apr 2020 13:56:29 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44202 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727048AbgDER43 (ORCPT ); Sun, 5 Apr 2020 13:56:29 -0400 Received: by mail-wr1-f68.google.com with SMTP id m17so14615388wrw.11; Sun, 05 Apr 2020 10:56:27 -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:content-transfer-encoding:in-reply-to; bh=baFiJWDIXcDbqRxwMJ7sjjGENTtWwfmj+QDEOMNAPIY=; b=Ew9379n9xMZ0UhuAE44iezfeOMtFHGExzsbghmN1UPDmTEl1Jj4YPaBdyHT5H6dUPc eEZRPy0AEPX0lV6IM8Q5ezPof/RucQeZcv3vG2+wsGI+vGGS9Z7kiRR5evCGLOrklapM 9XjMQn1dT+x3bRi4EWpwAXN9e3E275r/6d0BrxbO8jXFapcprOpsc1hrYwBDFKUX9q1/ Z2Lkcdt2nfRmPi2ZSl0Zs8p/kKfrGpXydSIlbItSID91AX/poOE4i2Qzi8ZUq6gFAYXf 57Pnf8j9KBduFhulx9aOm3MTA2swsxT9jVELk6LkTpgnM+Z18p+UbT3TZAqeLvZJC/DT hF5w== 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:content-transfer-encoding :in-reply-to; bh=baFiJWDIXcDbqRxwMJ7sjjGENTtWwfmj+QDEOMNAPIY=; b=dUkFuyzFcSZfOhAupvDVQWwh6JOXMnnUrE3dHeqTEWBP7lI6S6+g/LaD6JJ4ISpd9v rM1ZD4vdcctXFasppDoy1/ffcc5J4GqrR8LBe/MZZZHkgn38oSF7Zxkn8xdCrmZf4nXK VMckqJHjc5fCmDoKLJSzDzmSewER2jcGC50KIPk+gBkxQ9msCgC4qZLb89SRHkIfy+9j LEign8eu2ZwEddHXAafNT1rpWRpWXVqonQExfXXAP/pA8oU+Lf+W+xRjBcaxxD6eRj5R GK+/5I3/pvD7pPmPMWooxIBwZgoBBaSjSjd23J4/NpqEyiUOuGhLxTzvTQOcL3fqwEsv bGXw== X-Gm-Message-State: AGi0PuYEqzsSz2I78fB+4B+pyjUATWwhm9YigrNy+McZiwt8zc3qQOg6 Gjj5neD7QgFOc+IojrTF6s0= X-Received: by 2002:adf:fdd2:: with SMTP id i18mr19348989wrs.165.1586109386897; Sun, 05 Apr 2020 10:56:26 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id r5sm21037015wmr.15.2020.04.05.10.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Apr 2020 10:56:26 -0700 (PDT) Date: Sun, 5 Apr 2020 19:56:24 +0200 From: Corentin Labbe To: Markus Elfring Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , Colin Ian King , "David S. Miller" , Herbert Xu , Maxime Ripard , LKML , kernel-janitors@vger.kernel.org, Tang Bin Subject: Re: [PATCH] crypto: sun8i-ss - Delete an error message in sun8i_ss_probe() Message-ID: <20200405175624.GA24925@Red> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sat, Apr 04, 2020 at 05:45:26PM +0200, Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 4 Apr 2020 17:34:53 +0200 > > The function “platform_get_irq” can log an error already. > Thus omit a redundant message for the exception handling in the > calling function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c > index 6b301afffd11..a1fb2fbdbe7b 100644 > --- a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c > +++ b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c > @@ -537,10 +537,8 @@ static int sun8i_ss_probe(struct platform_device *pdev) > return err; > > irq = platform_get_irq(pdev, 0); > - if (irq < 0) { > - dev_err(ss->dev, "Cannot get SecuritySystem IRQ\n"); > + if (irq < 0) > return irq; > - } > > ss->reset = devm_reset_control_get(&pdev->dev, NULL); > if (IS_ERR(ss->reset)) { > -- > 2.26.0 > Hello Acked-by: Corentin Labbe Thanks