From: Masami Hiramatsu <mhiramat@kernel.org>
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 <tipbot@zytor.com>,
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
Date: Tue, 14 Nov 2017 21:40:43 +0900 [thread overview]
Message-ID: <20171114214043.8c7735e717bb9e577c71f33b@kernel.org> (raw)
In-Reply-To: <tip-fcdfafcb73be8fa45909327bbddca46fb362a675@git.kernel.org>
On Sun, 12 Nov 2017 23:18:55 -0800
tip-bot for Ingo Molnar <tipbot@zytor.com> wrote:
> Commit-ID: fcdfafcb73be8fa45909327bbddca46fb362a675
> Gitweb: https://git.kernel.org/tip/fcdfafcb73be8fa45909327bbddca46fb362a675
> Author: Ingo Molnar <mingo@kernel.org>
> AuthorDate: Mon, 13 Nov 2017 07:59:10 +0100
> Committer: Ingo Molnar <mingo@kernel.org>
> 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 <mhiramat@kernel.org>
Thanks!
> Cc: Masami Hiramatsu <mhiramat@kernel.org>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Ingo Molnar <mingo@kernel.org>
> ---
> 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 <mhiramat@kernel.org>
parent reply other threads:[~2017-11-14 12:41 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tip-fcdfafcb73be8fa45909327bbddca46fb362a675@git.kernel.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171114214043.8c7735e717bb9e577c71f33b@kernel.org \
--to=mhiramat@kernel.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=tipbot@zytor.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®