lkml.org 
[lkml]   [2017]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build warnings after merge of the tip tree

* Masami Hiramatsu <mhiramat@kernel.org> wrote:

> > net/sctp/probe.c: In function 'sctpprobe_exit':
> > net/sctp/probe.c:240:2: warning: 'unregister_jprobe' is deprecated [-Wdeprecated-declarations]
> > unregister_jprobe(&sctp_recv_probe);
> > ^
> > In file included from net/sctp/probe.c:28:0:
> > include/linux/kprobes.h:479:33: note: declared here
> > static inline void __deprecated unregister_jprobe(struct jprobe *p)
> > ^
> >
> > Introduced by commit
> >
> > 590c84593045 ("kprobes: Disable the jprobes APIs")
> >
> > These days we normally don't deprecate things, just remove them. But we
> > do that *after* fixing up all the usages in the tree, please.
>
> OK, should I remove __deprecated or revert above patch?
> I pinged such users but no response. I can just rewrite it but not sure they can reply.

Ideal would be to just fix all these places: convert code where the facility
appears to be actively used, remove code where it looks unused. If maintainers
don't reply, I can apply them to a separate branch in -tip.

For example I'm pretty sure we can just remove the jprobes usage in SCTP.

Thanks,

Ingo

\
 
 \ /
  Last update: 2017-11-04 09:01    [W:0.053 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site