Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2470747imm; Wed, 16 May 2018 13:26:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoQ6nzJzQY8ck5kh48UV/bCgkpxM+lCjPjcedbAsGUjRyIYkA+bxuY/LoRvVwsnQOT2bpMO X-Received: by 2002:a63:7405:: with SMTP id p5-v6mr1833598pgc.289.1526502370578; Wed, 16 May 2018 13:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526502370; cv=none; d=google.com; s=arc-20160816; b=hoY2bzrdxO8laQjGYZyeKmCwu/f7S2A1Un3LOtWsRCeJzt9OWgKmz7eJt/2B7K02A1 wW4gyQLL8sUiRFpcuIMKUV3WZUeZ5i98LcTQu/jcOviHqFpv14rHEjugCt77n0LWtKec Xf4KLrZMSuuxOeJIt8p/rDhn6cMR/1XyyaHO7UuxpqyMb8Eq0aw+EjulFlswy6tPJ2Fj uj4HLd5rY4VrbvYewNom+zIXCtdaT0oJkoKXxIQhfMNGicfdI5zb7Qp3Jyf1ztzNHG7+ 5pm4HmD03jVXj1LMgNIPWqmm6Z0jngdvreVgxB1FUGOjUWYbwOwZOqeZLtXXzvomJqXg jpug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=1zvbKeQB/GSsusKgmKPSSUwgJisPmgfCKbY+iCX/7S0=; b=sc4au2NeWM3+FJSJwFgnhxxsi62PT6psUkGmQDdpdmykdInBz8ccxAwQQDtcC3Ja6b pHmG0+cQhA8kw0da0XZgKTfl1vzECuYDGgH6liHCv6sD2GF5HP3N+2mOh+dJiCF5e+Ic yCVjTalztFQEoKfwjzQXwztQFe1wNAwWHfhobmddDpVK/E2fGjnEI7Fxxj4T+JGsYqsZ p4l0Wvv+84sX9A8UZFgzLkiNw5mtgCt7RVapp9GXCVs9Q4IW0So9LF4xv3zBedLQoOvR 6Y0ZJ/oXzQn+8UdtSWxl9RTyWaJsELUOq52GqacV6MKCIDnp0LosnM48Riy8IOEosRy2 Ep3w== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20-v6si3304830pls.557.2018.05.16.13.25.56; Wed, 16 May 2018 13:26:10 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751259AbeEPUY5 (ORCPT + 99 others); Wed, 16 May 2018 16:24:57 -0400 Received: from terminus.zytor.com ([198.137.202.136]:38273 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbeEPUYz (ORCPT ); Wed, 16 May 2018 16:24:55 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w4GKOkBi1743432 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 May 2018 13:24:46 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w4GKOjWI1743429; Wed, 16 May 2018 13:24:45 -0700 Date: Wed, 16 May 2018 13:24:45 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Mathieu Malaterre Message-ID: Cc: tglx@linutronix.de, mingo@kernel.org, sboyd@kernel.org, john.stultz@linaro.org, hpa@zytor.com, linux-kernel@vger.kernel.org, malat@debian.org Reply-To: malat@debian.org, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, john.stultz@linaro.org, sboyd@kernel.org In-Reply-To: <20180516195943.31924-1-malat@debian.org> References: <20180516195943.31924-1-malat@debian.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] clocksource: Move inline keyword to the beginning of function declarations Git-Commit-ID: db6f9e55c8d80a4a1a329b9b68a1d370bffb6aad X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: db6f9e55c8d80a4a1a329b9b68a1d370bffb6aad Gitweb: https://git.kernel.org/tip/db6f9e55c8d80a4a1a329b9b68a1d370bffb6aad Author: Mathieu Malaterre AuthorDate: Wed, 16 May 2018 21:59:43 +0200 Committer: Thomas Gleixner CommitDate: Wed, 16 May 2018 22:21:32 +0200 clocksource: Move inline keyword to the beginning of function declarations The inline keyword was not at the beginning of the function declarations. Fix the following warnings triggered when using W=1: kernel/time/clocksource.c:456:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] kernel/time/clocksource.c:457:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] Signed-off-by: Mathieu Malaterre Signed-off-by: Thomas Gleixner Cc: Stephen Boyd Cc: John Stultz Link: https://lkml.kernel.org/r/20180516195943.31924-1-malat@debian.org --- kernel/time/clocksource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 56fd2239674f..f89a78e2792b 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -442,8 +442,8 @@ static inline int __clocksource_watchdog_work(void) { return 0; } static bool clocksource_is_watchdog(struct clocksource *cs) { return false; } void clocksource_mark_unstable(struct clocksource *cs) { } -static void inline clocksource_watchdog_lock(unsigned long *flags) { } -static void inline clocksource_watchdog_unlock(unsigned long *flags) { } +static inline void clocksource_watchdog_lock(unsigned long *flags) { } +static inline void clocksource_watchdog_unlock(unsigned long *flags) { } #endif /* CONFIG_CLOCKSOURCE_WATCHDOG */