From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6392DCA9EA0 for ; Fri, 18 Oct 2019 18:20:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C23221835 for ; Fri, 18 Oct 2019 18:20:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2410750AbfJRSU2 (ORCPT ); Fri, 18 Oct 2019 14:20:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:46290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394221AbfJRSU2 (ORCPT ); Fri, 18 Oct 2019 14:20:28 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 D946E20820; Fri, 18 Oct 2019 18:20:26 +0000 (UTC) Date: Fri, 18 Oct 2019 14:20:25 -0400 From: Steven Rostedt To: Yonghong Song Cc: YueHaibing , "mingo@redhat.com" , "ast@kernel.org" , "daniel@iogearbox.net" , Martin Lau , Song Liu , Andrii Nakryiko , "netdev@vger.kernel.org" , "bpf@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH bpf-next] bpf: Fix build error without CONFIG_NET Message-ID: <20191018142025.244156f8@gandalf.local.home> In-Reply-To: References: <20191018090344.26936-1-yuehaibing@huawei.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 18 Oct 2019 18:11:07 +0000 Yonghong Song wrote: > On 10/18/19 2:03 AM, YueHaibing wrote: > > If CONFIG_NET is n, building fails: > > > > kernel/trace/bpf_trace.o: In function `raw_tp_prog_func_proto': > > bpf_trace.c:(.text+0x1a34): undefined reference to `bpf_skb_output_proto' > > > > Wrap it into a #ifdef to fix this. > > > > Reported-by: Hulk Robot > > Fixes: a7658e1a4164 ("bpf: Check types of arguments passed into helpers") > > Signed-off-by: YueHaibing > > Acked-by: Yonghong Song I'm getting ready for another push to Linus. Want me to pull this into my tree? -- Steve