From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A48C432695F for ; Sat, 19 Sep 2026 09:22:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789809746; cv=none; b=hkxPmY+mWJnQZJAE02D6I4qh83NvOuh1bFUPs3XeKzM8OVgZNG+BkMnFzLvOculisF32kJqiCpJaVO+jZnZiCnFj3sPt2O5D7LDNyagiP37057F/0NqxPZvWwl0PReQEm0YGQ1nj9WmN9ECJskAf1TBzYwogeZnTWjhrmA73P1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789809746; c=relaxed/simple; bh=6cjwJwrEaBln9Im9kQMVPbN9fNgZsKxKYv+bvbLSQ0I=; h=Date:From:To:Cc:Subject:Message-ID; b=bWyIjxnxprJ0mJ5EmXZqfP7Ij3GmIcOhQAonA+JMJ4iFk9Ljx0T87oD8YWbsuJDSUPvZVZOgWvIjRdikO46lGCLCvrkv9DYoT+DDUrQ+uckH05pShAY1ylz87zoTrqJ8yNE5S+07+jEIjDMyiPpreQY3onrrhy55mWEUFN8IY6s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=jzsD0LdW; arc=none smtp.client-ip=192.198.163.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jzsD0LdW" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1789809743; x=1821345743; h=date:from:to:cc:subject:message-id; bh=6cjwJwrEaBln9Im9kQMVPbN9fNgZsKxKYv+bvbLSQ0I=; b=jzsD0LdW3PF8/Bx6mwQTGTX7aKMS0STsgsPEYK7oI8jUGdpdLgAm2pNY TguKPhNyoKVmIbayYt+9K31k66af20XuANhlP5KSyU5TSgdyXTUEbWgIa IYICzLHGGBnbpF1k8rRCIg+MEmxFE2I2Uq9axcHRip3o2h3xjJgpApy/5 hPZvit5pdVNqeHbMO/fe1qfh4ZVzuw3R4JiFvFVq8i/t+S7E4KRpTNkNo XT7GgnYlLGuxyQ6kmG/g1RQ/cmKovfgIlACSGhJo9A/WrdJS3hcHrO52B 67bXyeXDC3M424qCZCRHEJwvhGa2/4pG3fPB2TLSSpKn5O5i5FM+ANDmc A==; X-CSE-ConnectionGUID: xKNh7IZ9QhaGcbWwxi1PLA== X-CSE-MsgGUID: gttMLEl6QVuU9IliMKyR5w== X-IronPort-AV: E=McAfee;i="6800,10657,11909"; a="852859" X-IronPort-AV: E=Sophos;i="6.27,109,1787036400"; d="scan'208";a="852859" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa114.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2026 02:22:23 -0700 X-CSE-ConnectionGUID: j+zkb8WwTUOlEuHrYNiFEw== X-CSE-MsgGUID: tB5uKK2hQHyW/ALfhryRcQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,109,1787036400"; d="scan'208";a="279967568" Received: from lkp-server01.sh.intel.com (HELO 462990a40a85) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 19 Sep 2026 02:22:21 -0700 Received: from kbuild by 462990a40a85 with local (Exim 4.98.2) (envelope-from ) id 1x7rGx-00000000Ant-2ZFg; Sat, 19 Sep 2026 09:22:15 +0000 Date: Sat, 19 Sep 2026 17:21:24 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android13-5.15 0/2] net/bridge/br_input.c:232:2: error: implicit declaration of function 'nf_hook_state_init' Message-ID: <202609191742.gW74CVpg-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Hi Norihiko, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android13-5.15 head: 77804d3596695c7b85fe038c81d9580283ffd2ca commit: b37eb4523002250e2382e8c5e0d8380ad349c6b6 [0/2] ANDROID: KMI workaround for CONFIG_NETFILTER_FAMILY_BRIDGE config: i386-buildonly-randconfig-1001-20260919 (https://download.01.org/0day-ci/archive/20260919/202609191742.gW74CVpg-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 05d706e9a816dbf9eff31f47869f53d6fe796089) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609191742.gW74CVpg-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202609191742.gW74CVpg-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from net/bridge/br_input.c:23: In file included from net/bridge/br_private.h:17: include/net/ip6_fib.h:278:10: warning: default initialization of an object of type 'typeof (f6i->expires)' (aka 'const unsigned long') leaves the object uninitialized [-Wdefault-const-init-var-unsafe] 278 | return time_after(jiffies, f6i->expires); | ^ include/linux/jiffies.h:106:3: note: expanded from macro 'time_after' 106 | typecheck(unsigned long, b) && \ | ^ include/linux/typecheck.h:11:12: note: expanded from macro 'typecheck' 11 | typeof(x) __dummy2; \ | ^ >> net/bridge/br_input.c:232:2: error: implicit declaration of function 'nf_hook_state_init' [-Werror,-Wimplicit-function-declaration] 232 | nf_hook_state_init(&state, NF_BR_PRE_ROUTING, | ^ net/bridge/br_input.c:232:2: note: did you mean 'ethtool_stats_init'? include/linux/ethtool.h:254:20: note: 'ethtool_stats_init' declared here 254 | static inline void ethtool_stats_init(u64 *stats, unsigned int n) | ^ net/bridge/br_input.c:237:13: error: implicit declaration of function 'nf_hook_entry_hookfn' [-Werror,-Wimplicit-function-declaration] 237 | verdict = nf_hook_entry_hookfn(&e->hooks[i], skb, &state); | ^ 1 warning and 2 errors generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PHYLINK Depends on [n]: NETDEVICES [=n] Selected by [y]: - GKI_HIDDEN_ETHERNET_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_PROC Depends on [n]: NET [=y] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for WEXT_PRIV Depends on [n]: NET [=y] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for BALLOON_COMPACTION Depends on [n]: COMPACTION [=n] && MEMORY_BALLOON [=y] Selected by [y]: - GKI_HIDDEN_MM_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_SPY Depends on [n]: NET [=y] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for NETFILTER_FAMILY_BRIDGE Depends on [n]: NET [=y] && INET [=y] && NETFILTER [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] WARNING: unmet direct dependencies detected for WIRELESS_EXT Depends on [n]: NET [=y] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for WEXT_CORE Depends on [n]: NET [=y] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y]) Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for SND_JACK Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_VMASTER Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_PCM_IEC958 Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_SOC_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV Depends on [n]: SOUND [=n] && !UML && SND [=n] && SND_JACK [=y] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_PCM_ELD Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] vim +/nf_hook_state_init +232 net/bridge/br_input.c 971502d77faa50 Florian Westphal 2019-04-11 227 b37eb452300225 Norihiko Hama 2023-12-15 228 e = rcu_dereference(get_nf_hooks_bridge(net)[NF_BR_PRE_ROUTING]); 971502d77faa50 Florian Westphal 2019-04-11 229 if (!e) 971502d77faa50 Florian Westphal 2019-04-11 230 goto frame_finish; 971502d77faa50 Florian Westphal 2019-04-11 231 971502d77faa50 Florian Westphal 2019-04-11 @232 nf_hook_state_init(&state, NF_BR_PRE_ROUTING, 971502d77faa50 Florian Westphal 2019-04-11 233 NFPROTO_BRIDGE, skb->dev, NULL, NULL, 971502d77faa50 Florian Westphal 2019-04-11 234 net, br_handle_frame_finish); 971502d77faa50 Florian Westphal 2019-04-11 235 971502d77faa50 Florian Westphal 2019-04-11 236 for (i = 0; i < e->num_hook_entries; i++) { 971502d77faa50 Florian Westphal 2019-04-11 237 verdict = nf_hook_entry_hookfn(&e->hooks[i], skb, &state); 971502d77faa50 Florian Westphal 2019-04-11 238 switch (verdict & NF_VERDICT_MASK) { 971502d77faa50 Florian Westphal 2019-04-11 239 case NF_ACCEPT: 223fd0adfa8af3 Florian Westphal 2019-04-11 240 if (BR_INPUT_SKB_CB(skb)->br_netfilter_broute) { 223fd0adfa8af3 Florian Westphal 2019-04-11 241 *pskb = skb; 223fd0adfa8af3 Florian Westphal 2019-04-11 242 return RX_HANDLER_PASS; 223fd0adfa8af3 Florian Westphal 2019-04-11 243 } 971502d77faa50 Florian Westphal 2019-04-11 244 break; 971502d77faa50 Florian Westphal 2019-04-11 245 case NF_DROP: 971502d77faa50 Florian Westphal 2019-04-11 246 kfree_skb(skb); 971502d77faa50 Florian Westphal 2019-04-11 247 return RX_HANDLER_CONSUMED; 971502d77faa50 Florian Westphal 2019-04-11 248 case NF_QUEUE: 0d9cb300acad29 Florian Westphal 2019-07-02 249 ret = nf_queue(skb, &state, i, verdict); 971502d77faa50 Florian Westphal 2019-04-11 250 if (ret == 1) 971502d77faa50 Florian Westphal 2019-04-11 251 continue; 971502d77faa50 Florian Westphal 2019-04-11 252 return RX_HANDLER_CONSUMED; 971502d77faa50 Florian Westphal 2019-04-11 253 default: /* STOLEN */ 971502d77faa50 Florian Westphal 2019-04-11 254 return RX_HANDLER_CONSUMED; 971502d77faa50 Florian Westphal 2019-04-11 255 } 971502d77faa50 Florian Westphal 2019-04-11 256 } 971502d77faa50 Florian Westphal 2019-04-11 257 frame_finish: 971502d77faa50 Florian Westphal 2019-04-11 258 net = dev_net(skb->dev); 971502d77faa50 Florian Westphal 2019-04-11 259 br_handle_frame_finish(net, NULL, skb); 971502d77faa50 Florian Westphal 2019-04-11 260 #else 971502d77faa50 Florian Westphal 2019-04-11 261 br_handle_frame_finish(dev_net(skb->dev), NULL, skb); 971502d77faa50 Florian Westphal 2019-04-11 262 #endif 971502d77faa50 Florian Westphal 2019-04-11 263 return RX_HANDLER_CONSUMED; 971502d77faa50 Florian Westphal 2019-04-11 264 } 971502d77faa50 Florian Westphal 2019-04-11 265 :::::: The code at line 232 was first introduced by commit :::::: 971502d77faa50a37c89bc6d172450294ad9a5fd bridge: netfilter: unroll NF_HOOK helper in bridge input path :::::: TO: Florian Westphal :::::: CC: Pablo Neira Ayuso -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki