From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbdKDIBk (ORCPT ); Sat, 4 Nov 2017 04:01:40 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:46320 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559AbdKDIBi (ORCPT ); Sat, 4 Nov 2017 04:01:38 -0400 X-Google-Smtp-Source: ABhQp+QgyTKwZ2U9sx4m4s7fQmCXhxdUTAgxHkp2c5u5xLpwShrtKsI5OfLpGtmvvPnJKAoqNEpOBQ== Date: Sat, 4 Nov 2017 09:01:34 +0100 From: Ingo Molnar To: Masami Hiramatsu Cc: Stephen Rothwell , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build warnings after merge of the tip tree Message-ID: <20171104080134.7i6vv2avlxqdvvz3@gmail.com> References: <20171102135351.24ee83f9@canb.auug.org.au> <20171104060034.4aae72a524c428c9fcb98152@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171104060034.4aae72a524c428c9fcb98152@kernel.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Masami Hiramatsu 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