From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754337AbdKNMlN (ORCPT ); Tue, 14 Nov 2017 07:41:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:53032 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753192AbdKNMkt (ORCPT ); Tue, 14 Nov 2017 07:40:49 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C76812187C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mhiramat@kernel.org Date: Tue, 14 Nov 2017 21:40:43 +0900 From: Masami Hiramatsu To: mingo@kernel.org, torvalds@linux-foundation.org, hpa@zytor.com, tglx@linutronix.de, peterz@infradead.org, linux-kernel@vger.kernel.org, mhiramat@kernel.org Cc: tip-bot for Ingo Molnar , linux-tip-commits@vger.kernel.org, torvalds@linux-foundation.org, mingo@kernel.org, mhiramat@kernel.org, tglx@linutronix.de, peterz@infradead.org, hpa@zytor.com Subject: Re: [tip:perf/core] kprobes: Don't spam the build log with deprecation warnings Message-Id: <20171114214043.8c7735e717bb9e577c71f33b@kernel.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 12 Nov 2017 23:18:55 -0800 tip-bot for Ingo Molnar wrote: > Commit-ID: fcdfafcb73be8fa45909327bbddca46fb362a675 > Gitweb: https://git.kernel.org/tip/fcdfafcb73be8fa45909327bbddca46fb362a675 > Author: Ingo Molnar > AuthorDate: Mon, 13 Nov 2017 07:59:10 +0100 > Committer: Ingo Molnar > CommitDate: Mon, 13 Nov 2017 08:00:52 +0100 > > kprobes: Don't spam the build log with deprecation warnings > > The jprobes APIs are deprecated - but are still in occasional use for code that > few people seem to care about, so stop generating deprecation warnings. > Acked-by: Masami Hiramatsu Thanks! > Cc: Masami Hiramatsu > Cc: Linus Torvalds > Cc: Peter Zijlstra > Cc: Thomas Gleixner > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Ingo Molnar > --- > include/linux/kprobes.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h > index 56b2e69..9440a2f 100644 > --- a/include/linux/kprobes.h > +++ b/include/linux/kprobes.h > @@ -468,18 +468,18 @@ static inline int enable_kprobe(struct kprobe *kp) > return -ENOSYS; > } > #endif /* CONFIG_KPROBES */ > -static inline int __deprecated register_jprobe(struct jprobe *p) > +static inline int register_jprobe(struct jprobe *p) > { > return -ENOSYS; > } > -static inline int __deprecated register_jprobes(struct jprobe **jps, int num) > +static inline int register_jprobes(struct jprobe **jps, int num) > { > return -ENOSYS; > } > -static inline void __deprecated unregister_jprobe(struct jprobe *p) > +static inline void unregister_jprobe(struct jprobe *p) > { > } > -static inline void __deprecated unregister_jprobes(struct jprobe **jps, int num) > +static inline void unregister_jprobes(struct jprobe **jps, int num) > { > } > static inline int disable_kretprobe(struct kretprobe *rp) > @@ -490,11 +490,11 @@ static inline int enable_kretprobe(struct kretprobe *rp) > { > return enable_kprobe(&rp->kp); > } > -static inline int __deprecated disable_jprobe(struct jprobe *jp) > +static inline int disable_jprobe(struct jprobe *jp) > { > return -ENOSYS; > } > -static inline int __deprecated enable_jprobe(struct jprobe *jp) > +static inline int enable_jprobe(struct jprobe *jp) > { > return -ENOSYS; > } -- Masami Hiramatsu