Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp468081ybg; Mon, 1 Jun 2020 06:16:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqV6WIcbmWHZ3rPoFbIegFb6XNPWqbAN2MlDVNCjrkL3xJlr14IY6nGP6UbmeT9ssXLAAo X-Received: by 2002:a17:906:e0c:: with SMTP id l12mr18842909eji.435.1591017385798; Mon, 01 Jun 2020 06:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591017385; cv=none; d=google.com; s=arc-20160816; b=uSYOAXqEOufbB5ectLUcE82qalI7QwgzupXxWIcEmx2PPCpXCVSuypZh+HtNHBgyW3 9KPWVRUEHPSr4hsZK3c+QUFCwpmPLuu/yUC/qemqjkIcUsBmrwLm+KVLEz+H2ofSA2Sy pb0GJoONCZvTQuStiBDRQrHsxUGhm0hwYkT/pyOi94tYr7EnkokoV+w+Ii/IKZ52rDoL RnZ2nnX0XaBR4p3SG0bxwgadQHw0L0mmKAfqcmBr8lT9YSCkXpEKAvSSU6OMe1UtpdV5 EI3w5hoAK3jYuow46Q/qdBf7Z92mUctt9l1IRDLycVzBDoVvTupu+55+TMVS1Qw/3Zk4 NZ7w== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=f2YQYq5HHbMtPly9eK0k/0KD89R0qELQT+mLNCj7FM4=; b=J1aSgm4Z3HfcYScEW288oi7Bj7q72Sdz/W/82VZnKA0fW9uniy2Lq4R3ehMkDnjgZ5 iIe3qcB+CtebPJvEJIX9Vo5YtHjurPXL1c+jW3UMXXEy36Cg3Rl0oGKVZRnXwmn3k+R2 +btkERNMUBAjU41ysDtNIPWedYbeRQq1L4ZX07diilT63HXZ3GhSb0CN0vUV6M+ci/f8 Has8tAnpJM/K7LSp9j23XFOTwG2xz4+7ezCbny/eHnYrpfzmKekORbZISgZyszRenUpc LNlg93LyuzG9Y8LOxu5vMtAPEd8RdkrXg3glHW/QS8Chc1wdgxCS0isXH9rFsvc4rJDl lgGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si11044706ejb.134.2020.06.01.06.16.02; Mon, 01 Jun 2020 06:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728309AbgFANNH (ORCPT + 99 others); Mon, 1 Jun 2020 09:13:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726287AbgFANLs (ORCPT ); Mon, 1 Jun 2020 09:11:48 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9157DC061A0E; Mon, 1 Jun 2020 06:11:47 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jfkEC-00075v-Us; Mon, 01 Jun 2020 15:11:45 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 89FF01C0244; Mon, 1 Jun 2020 15:11:44 +0200 (CEST) Date: Mon, 01 Jun 2020 13:11:44 -0000 From: "tip-bot2 for Dejin Zheng" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] drivers/clocksource/arm_arch_timer: Remove duplicate error message Cc: Dejin Zheng , Daniel Lezcano , x86 , LKML In-Reply-To: <20200429153559.21189-1-zhengdejin5@gmail.com> References: <20200429153559.21189-1-zhengdejin5@gmail.com> MIME-Version: 1.0 Message-ID: <159101710442.17951.7304564845428445332.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the timers/core branch of tip: Commit-ID: d1b5e55208fd8e1c73876ab6ad1ce93485e3f5a2 Gitweb: https://git.kernel.org/tip/d1b5e55208fd8e1c73876ab6ad1ce93485e3f5a2 Author: Dejin Zheng AuthorDate: Wed, 29 Apr 2020 23:35:59 +08:00 Committer: Daniel Lezcano CommitterDate: Fri, 22 May 2020 23:58:56 +02:00 drivers/clocksource/arm_arch_timer: Remove duplicate error message The function acpi_gtdt_init() prints a message in case of error. Remove the error message after testing if the function fails, otherwise it is a duplicate message. Signed-off-by: Dejin Zheng Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20200429153559.21189-1-zhengdejin5@gmail.com --- drivers/clocksource/arm_arch_timer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index d53f4c7..befe54a 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -1577,10 +1577,8 @@ static int __init arch_timer_acpi_init(struct acpi_table_header *table) arch_timers_present |= ARCH_TIMER_TYPE_CP15; ret = acpi_gtdt_init(table, &platform_timer_count); - if (ret) { - pr_err("Failed to init GTDT table.\n"); + if (ret) return ret; - } arch_timer_ppi[ARCH_TIMER_PHYS_NONSECURE_PPI] = acpi_gtdt_map_ppi(ARCH_TIMER_PHYS_NONSECURE_PPI);