Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1644663pxj; Fri, 18 Jun 2021 11:33:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmG5b2q7qraKD8MiFnKTa2tAwJJuzobyeSbFN9X6wX3TaztTetuwGS6nY1ODhNkj1oJZO8 X-Received: by 2002:a02:a784:: with SMTP id e4mr4499930jaj.18.1624041228813; Fri, 18 Jun 2021 11:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624041228; cv=none; d=google.com; s=arc-20160816; b=EjjRpOetEG8iRZUn1twjWNbJxOlCdqSgLvkdpYDmor6bL0pYcpvYD5GHuSQQMoPJU4 trtFyG5Qd6EXpkOEzw99AoE6Ys1fIVXrbt/LN1QO1F3OmJQPaXgGQ61jXC9rhNYo2m4Y U5rmGYfFeeUdPjynb06LmJrL7H1RviNS4ExjK4eIkPgWuIbG10hbOjxUSRu26xAjT9dO GaE1X3A82f9qPr2ood8q+FAu81XqI+kyx7t9TQwocs6ZrU66ZBt87c0EfPa1GyHHxixB Wj/D396Sc+uvueczdbGV0uXFRhu7/aHcFGipFjd6RmNrBAE4oWKObMIqb/ccu87/7nfJ MOAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=zx6fC5m/1KenoPpaubnraLUKe5jyt3bCNVqLv/9YqOE=; b=hI/1M1S/xHewi85HgNVwhKB233sJtyC5wWe5K1nqM9CGvpYi14UW4cBQBX4miUq01X kcPb+EzAB2AGL6vUX23HPk6UQBl/gOOB903Uu0ZzJXWJxpG9aHr8AApblUngRYEdiOnj MOLpXtm+NcX8Sz7K8XheVkqEI34KgTzu+Bo+FdfUYS2kGZplCniPvgVu2XiK9hmUncxZ 2HwmuVT3bVky7DmtxY1uU/6rZ8jvCeavBM82WyWw3nXHVLxmfoUExvNdeNBeTyFj0vSw tChz69hmaAdlFaEFi0OxTWBCvKduACwl9a6P2wG7gUOsbwuFLfExdLJ6uHh9eoN5kvkz PGfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WOUe0tCT; dkim=neutral (no key) header.i=@linutronix.de header.b=sXbWPQtk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c13si346627ilr.100.2021.06.18.11.33.36; Fri, 18 Jun 2021 11:33:48 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WOUe0tCT; dkim=neutral (no key) header.i=@linutronix.de header.b=sXbWPQtk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235677AbhFRQF5 (ORCPT + 99 others); Fri, 18 Jun 2021 12:05:57 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:57364 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232270AbhFRQFt (ORCPT ); Fri, 18 Jun 2021 12:05:49 -0400 Date: Fri, 18 Jun 2021 16:03:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1624032218; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zx6fC5m/1KenoPpaubnraLUKe5jyt3bCNVqLv/9YqOE=; b=WOUe0tCTx2V+POPDXIKS0SGosqHGfbYVNC3CXdam5jIqavjA+L5hp/SpeKmCrwaWcD4Zbz KxMKVrfnpK65ffMU5QcAPsq3eD01DivhNAKf8SM2SM21pRc1tHGdCp2O0NLooKjng2+J7L USV+j+8/hhQMMEnXDyyWJ1TmVp1ElNeby68NI8vBQ/z3gl4UH/rV1VYXtaRuzbxGReRvOq Xg5kCQLbyv00MEp0ptE9vnH/20YijqYtujnjNDXR2LDanQQjZIxRK5PppBh1mMUV70TAS+ 6hy+eTgUAOKD8UNLyvMMF/CmnlI+p+3t7V9Lk+sgr5KhDf5peJYSLfWTnP9J0A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1624032218; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zx6fC5m/1KenoPpaubnraLUKe5jyt3bCNVqLv/9YqOE=; b=sXbWPQtk9ZCkKs05/jjtwUHIIr75PS3VE0dUiD97HFvMSpi+of4b41XadwIELP9BlW+hnj bcyNqnJ0X2eYprCA== From: "tip-bot2 for Zou Wei" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/arm_global_timer: Make symbol 'gt_clk_rate_change_nb' static Cc: Hulk Robot , Zou Wei , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1623490046-37972-1-git-send-email-zou_wei@huawei.com> References: <1623490046-37972-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Message-ID: <162403221797.19906.14772536901646306415.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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: be534f8ee137b95046d7c53c8200ffdcf05781a7 Gitweb: https://git.kernel.org/tip/be534f8ee137b95046d7c53c8200ffdcf05781a7 Author: Zou Wei AuthorDate: Sat, 12 Jun 2021 17:27:26 +08:00 Committer: Daniel Lezcano CommitterDate: Wed, 16 Jun 2021 17:33:04 +02:00 clocksource/drivers/arm_global_timer: Make symbol 'gt_clk_rate_change_nb' static The sparse tool complains as follows: drivers/clocksource/arm_global_timer.c:54:23: warning: symbol 'gt_clk_rate_change_nb' was not declared. Should it be static? This symbol is not used outside of arm_global_timer.c, so mark it static. Reported-by: Hulk Robot Signed-off-by: Zou Wei Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/1623490046-37972-1-git-send-email-zou_wei@huawei.com --- drivers/clocksource/arm_global_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/arm_global_timer.c b/drivers/clocksource/arm_global_timer.c index 60a8047..68b1d14 100644 --- a/drivers/clocksource/arm_global_timer.c +++ b/drivers/clocksource/arm_global_timer.c @@ -51,7 +51,7 @@ * the units for all operations. */ static void __iomem *gt_base; -struct notifier_block gt_clk_rate_change_nb; +static struct notifier_block gt_clk_rate_change_nb; static u32 gt_psv_new, gt_psv_bck, gt_target_rate; static int gt_ppi; static struct clock_event_device __percpu *gt_evt;