From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [wireless-testsing2:master 1/4] drivers/net/netdevsim/bpf.c:130:14: sparse: incompatible types for 'case' statement Date: Wed, 3 Jan 2018 17:02:37 -0800 Message-ID: <20180103170237.0d682aa0@cakuba.netronome.com> References: <201801040317.tEFQay7W%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "David S. Miller" , kbuild-all@01.org, netdev@vger.kernel.org, Bob Copeland To: kbuild test robot Return-path: Received: from mx3.wp.pl ([212.77.101.9]:44001 "EHLO mx3.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750945AbeADBCp (ORCPT ); Wed, 3 Jan 2018 20:02:45 -0500 In-Reply-To: <201801040317.tEFQay7W%fengguang.wu@intel.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 4 Jan 2018 03:53:20 +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-testing.git master > head: 6b3b30d0c31ddb2f4d8208c90bc2b4adef47204d > commit: af2cae39f6ab9dc596616d6a28c7772e1dd55e91 [1/4] Merge remote-tracking branch 'wireless-drivers-next/master' > reproduce: > # apt-get install sparse > git checkout af2cae39f6ab9dc596616d6a28c7772e1dd55e91 > make ARCH=x86_64 allmodconfig > make C=1 CF=-D__CHECK_ENDIAN__ > drivers/net/netdevsim/bpf.c: In function 'nsim_bpf_setup_tc_block_cb': > >> drivers/net/netdevsim/bpf.c:130:7: error: 'TC_CLSBPF_REPLACE' undeclared (first use in this function); did you mean 'TC_RED_REPLACE'? > case TC_CLSBPF_REPLACE: > ^~~~~~~~~~~~~~~~~ > TC_RED_REPLACE FWIW looks like the tree contains old net-next code and latest net (linux/master) code. Pulling from net-next will solve this. > :::::: TO: Jakub Kicinski > :::::: CC: Daniel Borkmann Interestingly Daniel and I were not CCed on the report, is this intentional?