* include/net/mac80211.h:8285:26: error: 'SKB_EXT_WIRELESS' undeclared
@ 2026-09-09 19:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-09 19:28 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Pooventhiran-G/net-skbuff-Add-SKB-extension-support-to-wireless-drivers/20260908-223929, commit: c6dbd12c6fcd4291c87e9c11caea9b323d05b951"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Pooventhiran G <pooventhiran.g@oss.qualcomm.com>
CC: 0day robot <lkp@intel.com>
tree: https://github.com/intel-lab-lkp/linux/commits/Pooventhiran-G/net-skbuff-Add-SKB-extension-support-to-wireless-drivers/20260908-223929
head: 682493f4354196bc329dcf05f25bbd6d7a63dea0
commit: c6dbd12c6fcd4291c87e9c11caea9b323d05b951 wifi: mac80211: Define SMD BSS Transition context for transport
date: 26 hours ago
:::::: branch date: 26 hours ago
:::::: commit date: 26 hours ago
config: openrisc-randconfig-r133-20260909 (https://download.01.org/0day-ci/archive/20260910/202609100349.H06ONXwq-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 15.2.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260910/202609100349.H06ONXwq-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202609100349.H06ONXwq-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from net/wireless/tests/../../mac80211/ieee80211_i.h:32,
from net/wireless/tests/scan.c:15:
include/net/mac80211.h: In function 'ieee80211_skb_ext_add_uhr':
>> include/net/mac80211.h:8285:26: error: 'SKB_EXT_WIRELESS' undeclared (first use in this function)
8285 | skb_ext_del(skb, SKB_EXT_WIRELESS);
| ^~~~~~~~~~~~~~~~
include/net/mac80211.h:8285:26: note: each undeclared identifier is reported only once for each function it appears in
>> include/net/mac80211.h:8287:15: error: implicit declaration of function 'skb_ext_add'; did you mean 'skb_ext_del'? [-Wimplicit-function-declaration]
8287 | ext = skb_ext_add(skb, SKB_EXT_WIRELESS);
| ^~~~~~~~~~~
| skb_ext_del
vim +/SKB_EXT_WIRELESS +8285 include/net/mac80211.h
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8250
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8251 /**
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8252 * ieee80211_skb_ext_add_uhr - attach or replace a UHR SMD context on
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8253 * SKB_EXT_WIRELESS
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8254 * @skb: the SKB to attach the extension to
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8255 * @ctx: the SMD context; must be a kmalloc-ed buffer by the caller
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8256 *
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8257 * Allocates a &struct wireless_skb_ext_smd_ctx container, sets @ctx to it with
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8258 * @refcnt initialized to 1, and attaches it to @skb on SKB_EXT_WIRELESS.
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8259 * If SKB_EXT_WIRELESS is already active, the existing @container is released
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8260 * before the new one is attached.
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8261 *
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8262 * Ownership of @ctx transfers to @container on success - the core will
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8263 * kfree() both when the last reference is released.
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8264 * Upon error, @ctx ownership is not transferred from the caller; old @container
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8265 * may get freed.
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8266 *
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8267 * Drivers must use this helper to attach SKB_EXT_WIRELESS extension to
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8268 * properly handle clone and COW copies.
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8269 *
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8270 * Returns 0 on success; -ENOMEM on allocation failure.
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8271 */
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8272 static inline int ieee80211_skb_ext_add_uhr(struct sk_buff *skb,
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8273 struct ieee80211_smd_ctx *ctx)
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8274 {
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8275 struct wireless_skb_ext_smd_ctx *container;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8276 struct wireless_skb_ext *ext;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8277
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8278 container = kzalloc_obj(*container, GFP_ATOMIC);
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8279 if (!container)
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8280 return -ENOMEM;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8281
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8282 refcount_set(&container->refcnt, 1);
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8283 container->smd_ctx = ctx;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8284
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 @8285 skb_ext_del(skb, SKB_EXT_WIRELESS);
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8286
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 @8287 ext = skb_ext_add(skb, SKB_EXT_WIRELESS);
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8288 if (!ext) {
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8289 kfree(container);
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8290 return -ENOMEM;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8291 }
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8292
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8293 ext->uhr_smd_ctx = container;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8294 ext->type = WIRELESS_SKB_EXT_UHR_SMD;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8295
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8296 return 0;
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8297 }
c6dbd12c6fcd42 Pooventhiran G 2026-09-08 8298
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-09 19:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-09 19:28 include/net/mac80211.h:8285:26: error: 'SKB_EXT_WIRELESS' undeclared kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.