Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp983827imu; Thu, 20 Dec 2018 08:17:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uwz2NEAQCCXwql9B/hNuiaZMp2m2gfKviBOU7AvMc636ZOBvurTsQ4ty7vuKQz//ZcE9oC X-Received: by 2002:a65:62da:: with SMTP id m26mr23763295pgv.278.1545322666637; Thu, 20 Dec 2018 08:17:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545322666; cv=none; d=google.com; s=arc-20160816; b=TQbdSpkBVchbCunKCeVH0r4eWpXLOsfnsFDLXTOyqB2Ru5wq2xtcfwe3JMfoiBGoEv YWtMlDv2akSwkOY8cUvL3gFpyJEnHFALa8CTNkKybkbTlMyyQ0k5lW6v6FPGmwPxODQ3 RsgVrq/utT5ecjZCYrId6tZKSpf5R5jZ/CAfrqBtF2Bbudb5fU6t8VP+CnR1PsEqEijt +t+/qjkXqjDT/Jvh9DtuHsuZShw86eX4cblEPFBG+Dd6E/1v71C9mXutagUvsQ8Bu5tE aLwj5awDf3MbGl3a55F+9JR8RZW3dboeq3FmaMvh5oMYnZXcXHHvyJQqq3ZHI/sBYoha lCqg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=Py9HPHoWty0mX8uhnCyCXT2JaIwj1EY6nBkevG6jNLQ=; b=thOTScCzwJ82L8sRXoFSqIKzdyiav4Ud6h2/cD0KVeU9dRXfqh7RiCjLdKNitXKh/j ORpy0tLS+7S8qYIjZO2V9lbvvwu4YcwrtOt+JeUWeqGwcdOhyFvNm2oIs/Pit8vXFm2R L24QMLLqy/AAPhO8WQy7lns7jqYDSx+TQOQvqxLaSU422z3nbdcPofIXVWvRbiqFNb5e M6u55AtKj1L+qRA2zGbhywkvUeq82jwqV6c4bZ9Y1/2jL8ijXGRae2K253x3QENRQXvQ dfoe0BeCUIDKFPavfZk6NeZKCChDIkDq8VVud/91bx3pZD7/iS2ZXVdm+J1mPFghSLp6 PHiQ== 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 v32si19505372plb.369.2018.12.20.08.17.30; Thu, 20 Dec 2018 08:17:46 -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 S2387578AbeLTOdQ convert rfc822-to-8bit (ORCPT + 99 others); Thu, 20 Dec 2018 09:33:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:59516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387522AbeLTOdP (ORCPT ); Thu, 20 Dec 2018 09:33:15 -0500 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 0AAD921852; Thu, 20 Dec 2018 14:33:14 +0000 (UTC) Date: Thu, 20 Dec 2018 09:33:13 -0500 From: Steven Rostedt To: Mathieu Malaterre Cc: Chunyan Zhang , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tracing: make function =?UTF-8?B?4oCYZnRyYWNlX2V4cG9y?= =?UTF-8?B?dHPigJk=?= static Message-ID: <20181220093313.16b227fd@gandalf.local.home> In-Reply-To: <20180516193012.25390-1-malat@debian.org> References: <20180516193012.25390-1-malat@debian.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cleaning out my INBOX, I stumbled on this patch that slipped through the cracks. Applied to my local queue. Thanks, and sorry for the delay. -- Steve On Wed, 16 May 2018 21:30:12 +0200 Mathieu Malaterre wrote: > In commit 478409dd683d ("tracing: Add hook to function tracing for other > subsystems to use"), a new function ‘ftrace_exports’ was added. Since > this function can be made static, make it so. > > Silence the following warning triggered using W=1: > > kernel/trace/trace.c:2451:6: warning: no previous prototype for ‘ftrace_exports’ [-Wmissing-prototypes] > > Signed-off-by: Mathieu Malaterre > --- > kernel/trace/trace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c > index 414d7210b2ec..76b96f453cf7 100644 > --- a/kernel/trace/trace.c > +++ b/kernel/trace/trace.c > @@ -2448,7 +2448,7 @@ static inline void ftrace_exports_disable(void) > static_branch_disable(&ftrace_exports_enabled); > } > > -void ftrace_exports(struct ring_buffer_event *event) > +static void ftrace_exports(struct ring_buffer_event *event) > { > struct trace_export *export; >