Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1079226ybi; Fri, 14 Jun 2019 08:16:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7YvCVdGq/MbbBIVwXYysNiR1H63O7btiuPcwORluyNTx/TpuidYJgKX068irrIJGW0hX/ X-Received: by 2002:a17:90a:bd8c:: with SMTP id z12mr11787355pjr.60.1560525412486; Fri, 14 Jun 2019 08:16:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560525412; cv=none; d=google.com; s=arc-20160816; b=G8AvAJMuexnBu4zPxJLugBV835mRqHa0BPQ/mx1Lj0BWhTP5btddIfi7ewgxnuN8rF q7eJ/EtvzJJ5//m7K9qC0lQLqJ8RYqab/WXFuQj/t+48os/sIATIi/9XE07j/z/zwthb s2hK4apSazHthdeVCDV2n5rUmZBDFQXnSt92CKvS2yRC1ejvdkXrEnRYYJwlkIewGInn cczEtHYDC3u/jKFnImMWt9EpyzwBk3ciBLcjoZSExISaz6UxBgncVHa/a4LKUxQM21Zq r0iMCpiH220T4D6uzrwK/VwGD4q3XN4BYhjt9ikIfESqL30atzNqnOxmugMdtt49AJzt 1xTg== 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:dkim-signature:dkim-filter; bh=YT9bA0rD0nP9H52nMHHd6hin4ckI1Jlw53UJQXVmC7I=; b=cwem27ZYXWEN/zF7wIO+2eosQ0stiKTZe7u3Ew5rphoYdXr5XTjjdBTLyBodsZRIZ5 /Dui7seYXbjhuAO6wgpPVXxsiO1H5k7YOAKN3R0DToLGkAWQTuNRgPmV4mcz2I4pidYQ ojE+uqnxS6lEKhV2MmJP/SglIMn0cocE8QlMa4v6wWFq5hPsEJsZfp4bp3ZI6XHJfbY6 7e5GRzaN2wxqZDpvqbOrl73elSMlte6u55kSTqGvmgUVFYRF3/0YqEGEb+Wq3I52fh5p mPeBd4zsDWglOSM1EITPIgml5p738WMPkoXnWVKZ6ULq9ZTu4lBsq4WvqFzqkreyeF2X geBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zytor.com header.s=2019051801 header.b=r5wWDFfN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p125si2812683pfp.35.2019.06.14.08.16.35; Fri, 14 Jun 2019 08:16:52 -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; dkim=pass header.i=@zytor.com header.s=2019051801 header.b=r5wWDFfN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726388AbfFNPQW (ORCPT + 99 others); Fri, 14 Jun 2019 11:16:22 -0400 Received: from terminus.zytor.com ([198.137.202.136]:48445 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726297AbfFNPQV (ORCPT ); Fri, 14 Jun 2019 11:16:21 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id x5EFGBuV1750095 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 14 Jun 2019 08:16:11 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 terminus.zytor.com x5EFGBuV1750095 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019051801; t=1560525372; bh=YT9bA0rD0nP9H52nMHHd6hin4ckI1Jlw53UJQXVmC7I=; h=Date:From:Cc:Reply-To:In-Reply-To:References:To:Subject:From; b=r5wWDFfNpb+nkM/CxZu1kdGJfi9Mm2es/jg1p4AC3aQd75914SUKsiKNpRnES1TEH VSOLpBdHeqOS3KDJ7Np4WNWW4piJnnCiDrdzQX8cKgUmQLEM0pDJT7eNVMSsKsETrb kewjXrXS6dYucXTbTmwMoPwkgWWDYqFlUgq9tCCJKdFiMJWL3HhO8+FcR69g4nsRAM sdIkuTW+NwJ0e5/QXVlMNETbq3Di+pPBo/k6ZF2JlXh5a96T+HpBzoUhZXFD5lE+lp YglsXagaw6ggKJ+NUbW5MZo6hTuKRA4WVmt+zpGDzAgI0950KN+7iqQFveU2gyggmN crTqJiLGpop6A== Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id x5EFGA9a1750091; Fri, 14 Jun 2019 08:16:10 -0700 Date: Fri, 14 Jun 2019 08:16:10 -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: malat@debian.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, john.stultz@linaro.org, mingo@kernel.org, hpa@zytor.com, sboyd@kernel.org Reply-To: hpa@zytor.com, sboyd@kernel.org, tglx@linutronix.de, mingo@kernel.org, john.stultz@linaro.org, linux-kernel@vger.kernel.org, malat@debian.org In-Reply-To: <20190524103339.28787-1-malat@debian.org> References: <20190524103339.28787-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: 0f48b41f597e3b62b649abbf796e1e72901f9df3 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=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: 0f48b41f597e3b62b649abbf796e1e72901f9df3 Gitweb: https://git.kernel.org/tip/0f48b41f597e3b62b649abbf796e1e72901f9df3 Author: Mathieu Malaterre AuthorDate: Fri, 24 May 2019 12:33:39 +0200 Committer: Thomas Gleixner CommitDate: Fri, 14 Jun 2019 17:04:03 +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:108:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] kernel/time/clocksource.c:113:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] Signed-off-by: Mathieu Malaterre Signed-off-by: Thomas Gleixner Cc: trivial@kernel.org Cc: kernel-janitors@vger.kernel.org Cc: John Stultz Cc: Stephen Boyd Link: https://lkml.kernel.org/r/20190524103339.28787-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 3bcc19ceb073..fff5f64981c6 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -105,12 +105,12 @@ static DEFINE_SPINLOCK(watchdog_lock); static int watchdog_running; static atomic_t watchdog_reset_pending; -static void inline clocksource_watchdog_lock(unsigned long *flags) +static inline void clocksource_watchdog_lock(unsigned long *flags) { spin_lock_irqsave(&watchdog_lock, *flags); } -static void inline clocksource_watchdog_unlock(unsigned long *flags) +static inline void clocksource_watchdog_unlock(unsigned long *flags) { spin_unlock_irqrestore(&watchdog_lock, *flags); }