Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1765578ybg; Sat, 19 Oct 2019 02:03:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKU3VeSiCobIAdf08zX5A+F7qVaS8CFHxIHLEdlyWc0C76bEHPdOvW2JUn4w5g6hqK8z8l X-Received: by 2002:a05:6402:1694:: with SMTP id a20mr14308143edv.277.1571475821829; Sat, 19 Oct 2019 02:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571475821; cv=none; d=google.com; s=arc-20160816; b=1A+6z6EQ8GwvYK137O9KeYggGNt6hUEcGxoeyjF1Xx+FSo6M+YPSHCMk5ASYLrZ/qb hE55DVRlG9SNxnEVQ0ssGj8NBllUZoCI82IylSR+DWlW3EhikujqnGy1mjX2Xtj9V0jN f53/6rFkFjL1rnNXL26LuIdgsOBrs6dJQVzZrpSaMUSFaj19pJhrVpbUvJvwHgV+nl9m zbjoSvVVml2wGCzxDFEm+TlWIqFaDdGL3vsJ2N82gvFDTCoevrVtN0EDvKoDdgODANEp xziffDpvuQCclleElyJW3P+fuDQAld7OO2I7gM0+h/zwJUPZaOsTFC8WFv6Qu1q9IJ77 qJJw== 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; bh=eg7IqS7TnbL0gDbG5+ZkTXyCshG38LlqNYzMs5K9KJA=; b=VPmuoQC5SUUpZdJ3slv2ow8WxliqjQlGYXzv8RzCQzXLHorVnDLKkrPU2M6zSC1Pe7 W7lbDJOC0ClsnhGnkSSlmOcLuI0ITSngYZIMUnRouTxj+mp4/WofmrZxS1O1DXuBpYLK 8efUpep8pm0NKOznd/DakmHn8dqptP8OYhjm0137DjcG+3zcvip12NeZlYh09cfZ0p5Z iFaSNk/Y8m7evAO4OTnY5wg47Bl8qyhd68b7EsdRitjNWQASeQSRgEod+b/EKAe1fuGw BK+icnz8G9UjV4peZOoU1x5IXxA/B5s2ZvsAoL0xSz/3nvFSSM0Nu5//6NXO2GdBUHrq 4N4w== 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 i13si4970880edv.182.2019.10.19.02.03.14; Sat, 19 Oct 2019 02:03:41 -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 S2410751AbfJRSU2 (ORCPT + 99 others); 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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