From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 003F0C2BA15 for ; Sun, 5 Apr 2020 16:38:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF3B0206B8 for ; Sun, 5 Apr 2020 16:38:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727614AbgDEQiC (ORCPT ); Sun, 5 Apr 2020 12:38:02 -0400 Received: from mleia.com ([178.79.152.223]:50104 "EHLO mail.mleia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbgDEQiC (ORCPT ); Sun, 5 Apr 2020 12:38:02 -0400 X-Greylist: delayed 393 seconds by postgrey-1.27 at vger.kernel.org; Sun, 05 Apr 2020 12:38:01 EDT Received: from mail.mleia.com (localhost [127.0.0.1]) by mail.mleia.com (Postfix) with ESMTP id E02923D6201; Sun, 5 Apr 2020 16:31:27 +0000 (UTC) Subject: Re: [PATCH] rtc: Delete an error message in three functions To: Markus Elfring , linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alessandro Zummo , Alexandre Belloni , Eddie Huang , Sean Wang Cc: LKML , kernel-janitors@vger.kernel.org, Tang Bin References: <04116352-b464-041c-1939-96440133aa6f@web.de> From: Vladimir Zapolskiy Message-ID: Date: Sun, 5 Apr 2020 19:31:22 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <04116352-b464-041c-1939-96440133aa6f@web.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-49551924 X-CRM114-CacheID: sfid-20200405_163127_942536_44D09C9E X-CRM114-Status: GOOD ( 12.73 ) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/5/20 6:36 PM, Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 5 Apr 2020 17:30:15 +0200 > > The function “platform_get_irq” can log an error already. > Thus omit redundant messages for the exception handling in the > calling functions. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > drivers/rtc/rtc-fsl-ftm-alarm.c | 4 +--- > drivers/rtc/rtc-lpc24xx.c | 4 +--- For LPC24xx/18xx/43xx change Acked-by: Vladimir Zapolskiy > drivers/rtc/rtc-mt2712.c | 4 +--- > 3 files changed, 3 insertions(+), 9 deletions(-) > -- Best wishes, Vladimir