Received: by 10.223.164.221 with SMTP id h29csp258930wrb; Fri, 3 Nov 2017 14:01:37 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TYsTvOXPqSK6fIG2TIi+ZbTPf/HdqRjOwIx/x1cAcxnZCU1yUKIqVezhQzBWSEbYi7omrg X-Received: by 10.159.229.15 with SMTP id s15mr7790525plq.69.1509742897389; Fri, 03 Nov 2017 14:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509742897; cv=none; d=google.com; s=arc-20160816; b=sKS+Lb9Rw2G54fFGN7x15drvCba2ZPF9Uqg1MyCoMVyGA9l9oz4OUsLyqlrBbk32SG wK/CV87Bnv6VdjwjcqInBblIS3XPQnyS3U+4nC0cap6G9fn8pdofI/TtOLUV0pSvy5U9 2YIUe0YhLJmTNCjRPqWSS6tevyqh/kRJ1UBgaqH4jdbxTGl6kLv69g1qKTn46n7sJwV3 IKnIMf0U97eclpDUirkxZd6Avo3YpHO2zUvUfa61f4a+IJV2IaGBxgdSP8WDb4RVP1/9 sf8NDMlrA0uDfbEt1kCFzgrPAePoH14rQHA/JIKGlA4L6hqsGGKaWWGtBKr3ipVw3Xzj sKFg== 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 :dmarc-filter:arc-authentication-results; bh=55AJZo1mH13J3MiiewW3biLxCHTUTxSegQMTNRX68Dk=; b=FSb1VwczuhOWrWCZ4rFLaciL7uFjDyH+0/uuscjeBnMhkKUYWFR5XlFRck7FqJnZRl 98Tuq5Qt2nyluBjh6eCVtxHiey8WPjSFkDwMp2b9yTmHonHwG6bCpvSvK00cECkmz9WC abWwap5ROa5tDUCdamQiX9rCWdv0Ej2OxmGUwbykD8TZ+RSHCfJUeWY2gcJqWorAfL3Q VOOyJS/3UBdm7zILDioewTHTKDF0FmMMvtnxC07oIXhpwUaGuEUY8ccYo1RkBtUkXIJx uHZONfMnkJl47fh9/W/Cb8F0UPOG+FmZFUopyf9ANyRozkL/cwJuvutBalNndLfa278Q VCUg== 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 s15si5762417plk.45.2017.11.03.14.01.24; Fri, 03 Nov 2017 14:01:37 -0700 (PDT) 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 S1753398AbdKCVAk (ORCPT + 92 others); Fri, 3 Nov 2017 17:00:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:55192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbdKCVAh (ORCPT ); Fri, 3 Nov 2017 17:00:37 -0400 Received: from devbox (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (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 1DF6E218D2; Fri, 3 Nov 2017 21:00:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1DF6E218D2 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: Sat, 4 Nov 2017 06:00:34 +0900 From: Masami Hiramatsu To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Linux-Next Mailing List , Linux Kernel Mailing List , Masami Hiramatsu Subject: Re: linux-next: build warnings after merge of the tip tree Message-Id: <20171104060034.4aae72a524c428c9fcb98152@kernel.org> In-Reply-To: <20171102135351.24ee83f9@canb.auug.org.au> References: <20171102135351.24ee83f9@canb.auug.org.au> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2 Nov 2017 13:53:51 +1100 Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > produced these warnings: > > net/dccp/probe.c: In function 'dccpprobe_init': > net/dccp/probe.c:166:2: warning: 'register_jprobe' is deprecated [-Wdeprecated-declarations] > ret = register_jprobe(&dccp_send_probe); > ^ > In file included from net/dccp/probe.c:26:0: > include/linux/kprobes.h:471:32: note: declared here > static inline int __deprecated register_jprobe(struct jprobe *p) > ^ > net/dccp/probe.c:170:4: warning: 'register_jprobe' is deprecated [-Wdeprecated-declarations] > ret = register_jprobe(&dccp_send_probe); > ^ > In file included from net/dccp/probe.c:26:0: > include/linux/kprobes.h:471:32: note: declared here > static inline int __deprecated register_jprobe(struct jprobe *p) > ^ > net/dccp/probe.c: In function 'dccpprobe_exit': > net/dccp/probe.c:190:2: warning: 'unregister_jprobe' is deprecated [-Wdeprecated-declarations] > unregister_jprobe(&dccp_send_probe); > ^ > In file included from net/dccp/probe.c:26:0: > include/linux/kprobes.h:479:33: note: declared here > static inline void __deprecated unregister_jprobe(struct jprobe *p) > ^ > net/ipv4/tcp_probe.c: In function 'tcpprobe_init': > net/ipv4/tcp_probe.c:280:2: warning: 'register_jprobe' is deprecated [-Wdeprecated-declarations] > ret = register_jprobe(&tcp_jprobe); > ^ > In file included from net/ipv4/tcp_probe.c:24:0: > include/linux/kprobes.h:471:32: note: declared here > static inline int __deprecated register_jprobe(struct jprobe *p) > ^ > net/ipv4/tcp_probe.c: In function 'tcpprobe_exit': > net/ipv4/tcp_probe.c:298:2: warning: 'unregister_jprobe' is deprecated [-Wdeprecated-declarations] > unregister_jprobe(&tcp_jprobe); > ^ > In file included from net/ipv4/tcp_probe.c:24:0: > include/linux/kprobes.h:479:33: note: declared here > static inline void __deprecated unregister_jprobe(struct jprobe *p) > ^ > net/sctp/probe.c: In function 'sctp_setup_jprobe': > net/sctp/probe.c:189:2: warning: 'register_jprobe' is deprecated [-Wdeprecated-declarations] > int ret = register_jprobe(&sctp_recv_probe); > ^ > In file included from net/sctp/probe.c:28:0: > include/linux/kprobes.h:471:32: note: declared here > static inline int __deprecated register_jprobe(struct jprobe *p) > ^ > net/sctp/probe.c:194:3: warning: 'register_jprobe' is deprecated [-Wdeprecated-declarations] > ret = register_jprobe(&sctp_recv_probe); > ^ > In file included from net/sctp/probe.c:28:0: > include/linux/kprobes.h:471:32: note: declared here > static inline int __deprecated register_jprobe(struct jprobe *p) > ^ > 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. Thank you, > > -- > Cheers, > Stephen Rothwell -- Masami Hiramatsu From 1582921229079518323@xxx Thu Nov 02 02:55:21 +0000 2017 X-GM-THRID: 1582921229079518323 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread