Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4482446ybc; Fri, 15 Nov 2019 05:29:03 -0800 (PST) X-Google-Smtp-Source: APXvYqw+mtfCrixcp5RFIQ+clivPwf/X9ATAD4cMQHXpPWp5QSwztqqnQ/SkRZzB2FD9QfU+63qD X-Received: by 2002:a17:906:5fd0:: with SMTP id k16mr869250ejv.243.1573824543581; Fri, 15 Nov 2019 05:29:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573824543; cv=none; d=google.com; s=arc-20160816; b=ZGNTjwxeUNlemDNQ8WhKZDx3KA8pDpMHAbEODTc5P4loCEvbkVmJHfZuxTV4Uk8teb nr49ItI3huz9cUSaO+xC4B5LQ7OUw0QUsBZHUGnhU0zOE+GIovuqWKnELx1pPyRPGv7S BTpGk0LFg8y/B0/s7nmbY4TLLnDvXrMUW+kbckmyXd5rWqOjD8L597LAxqCjt2MFhonh j9zQh2KJEtNvnoDcmNmECnTPxpxx5JAA9qt1xb8YI3nzdDzGpZ9ccmB2h3WAiBGsvs2C g6oWPIkc/k45xqMX2u2bB6S/ns7Gs8/ZWW7qmAyPFyKlWaIDZzNnAklZfeXlTgqTxf7b Qbrg== 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:mime-version :message-id:subject:cc:to:from:date; bh=d3enxxVx84EjaH9UCEVT3n7pV5H9q6ms/geQYVYKEb4=; b=Ix7QwVecVesW7aH8z2fvrlVYgoMF0yBbQw4eaNGvHOjswiCLD94clks2OEK0Ki5k/d Li6eN2sqzC2HO31HSf9jl4tWCYxz1XOzBhQxk9xDP1KU0qa54n4jgIxC6DoISmBF0zsU UiVp1YT2bPHD3HU8ejYc6Cia+VG9ge822BkFexrbXGpMjqkTrX4N43AEsfmW5YuNH/p9 7x/d13iXe935n4/riWezB6mhftnSABfWE0M2dBE0u+zn9I6HqnN9cfTBHhgqwZiTrJdf t9YwkOaS8vVF7pI7Sw3k/3AvQgTixaN5YgOjpPMb2lpWM1Ta9UT4V4C76OyD9YIA23u6 SMdA== 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 b26si3928971edc.25.2019.11.15.05.28.38; Fri, 15 Nov 2019 05:29:03 -0800 (PST) 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 S1727427AbfKON1V (ORCPT + 99 others); Fri, 15 Nov 2019 08:27:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:56284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727223AbfKON1V (ORCPT ); Fri, 15 Nov 2019 08:27:21 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 61745206CC; Fri, 15 Nov 2019 13:27:20 +0000 (UTC) Date: Fri, 15 Nov 2019 08:27:19 -0500 From: Steven Rostedt To: LKML Cc: Ingo Molnar , Stephen Rothwell , "Viktor Rosendahl (BMW)" , "Joel Fernandes (Google)" Subject: [for-next][PATCH] tracing: Add missing "inline" in stub function of latency_fsnotify() Message-ID: <20191115082719.4f2d11a0@gandalf.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Steven Rostedt (VMware)" The latency_fsnotify() stub when the function is not defined, was missing the "inline". Link: https://lore.kernel.org/r/20191115140213.74c5efe7@canb.auug.org.au Reported-by: Stephen Rothwell Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 90cba68c8b50..2df8aed6a8f0 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -801,7 +801,7 @@ void latency_fsnotify(struct trace_array *tr); #else -static void latency_fsnotify(struct trace_array *tr) { } +static inline void latency_fsnotify(struct trace_array *tr) { } #endif -- 2.20.1