From: kernel test robot <lkp@intel.com>
To: Sarika Sharma <quic_sarishar@quicinc.com>, johannes@sipsolutions.net
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-wireless@vger.kernel.org,
Sarika Sharma <quic_sarishar@quicinc.com>
Subject: Re: [PATCH wireless-next v5 04/11] wifi: cfg80211: reorg sinfo structure elements for MLO
Date: Thu, 13 Mar 2025 17:21:15 +0800 [thread overview]
Message-ID: <202503131702.EHtf3ZYe-lkp@intel.com> (raw)
In-Reply-To: <20250312065132.3397726-5-quic_sarishar@quicinc.com>
Hi Sarika,
kernel test robot noticed the following build errors:
[auto build test ERROR on 9324731b9985478faf7f77713cc5e5fee811716e]
url: https://github.com/intel-lab-lkp/linux/commits/Sarika-Sharma/wifi-mac80211-add-support-towards-MLO-handling-of-station-statistics/20250312-145356
base: 9324731b9985478faf7f77713cc5e5fee811716e
patch link: https://lore.kernel.org/r/20250312065132.3397726-5-quic_sarishar%40quicinc.com
patch subject: [PATCH wireless-next v5 04/11] wifi: cfg80211: reorg sinfo structure elements for MLO
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20250313/202503131702.EHtf3ZYe-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e15545cad8297ec7555f26e5ae74a9f0511203e7)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250313/202503131702.EHtf3ZYe-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/oe-kbuild-all/202503131702.EHtf3ZYe-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:6:
In file included from include/net/mac80211.h:18:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:14:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:549:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
549 | val = __raw_readb(PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:567:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
567 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
| ^
In file included from drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:6:
In file included from include/net/mac80211.h:18:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:14:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:585:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
585 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
In file included from drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:6:
In file included from include/net/mac80211.h:18:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:14:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:601:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
601 | __raw_writeb(value, PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:616:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
616 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:631:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
631 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:724:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
724 | readsb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:737:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
737 | readsw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:750:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
750 | readsl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:764:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
764 | writesb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:778:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
778 | writesw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:792:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
792 | writesl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
>> drivers/net/wireless/intel/iwlwifi/mld/mac80211.c:2637:3: error: field designator 'sta_statistics' does not refer to any field in type 'const struct ieee80211_ops'
2637 | .sta_statistics = iwl_mld_mac80211_sta_statistics,
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 warnings and 1 error generated.
--
In file included from drivers/net/wireless/intel/iwlwifi/mld/stats.c:6:
In file included from drivers/net/wireless/intel/iwlwifi/mld/mld.h:9:
In file included from include/net/mac80211.h:18:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:14:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:549:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
549 | val = __raw_readb(PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:567:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
567 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
| ^
In file included from drivers/net/wireless/intel/iwlwifi/mld/stats.c:6:
In file included from drivers/net/wireless/intel/iwlwifi/mld/mld.h:9:
In file included from include/net/mac80211.h:18:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:14:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:585:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
585 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
In file included from drivers/net/wireless/intel/iwlwifi/mld/stats.c:6:
In file included from drivers/net/wireless/intel/iwlwifi/mld/mld.h:9:
In file included from include/net/mac80211.h:18:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:14:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:601:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
601 | __raw_writeb(value, PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:616:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
616 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:631:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
631 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:724:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
724 | readsb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:737:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
737 | readsw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:750:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
750 | readsl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:764:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
764 | writesb(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:778:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
778 | writesw(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:792:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
792 | writesl(PCI_IOBASE + addr, buffer, count);
| ~~~~~~~~~~ ^
>> drivers/net/wireless/intel/iwlwifi/mld/stats.c:67:9: error: no member named 'signal_avg' in 'struct station_info'
67 | sinfo->signal_avg = mld_link_sta->signal_avg;
| ~~~~~ ^
drivers/net/wireless/intel/iwlwifi/mld/stats.c:169:36: error: no member named 'txrate' in 'struct station_info'
169 | struct rate_info *rinfo = &sinfo->txrate;
| ~~~~~ ^
12 warnings and 2 errors generated.
vim +2637 drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2608
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2609 const struct ieee80211_ops iwl_mld_hw_ops = {
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2610 .tx = iwl_mld_mac80211_tx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2611 .start = iwl_mld_mac80211_start,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2612 .stop = iwl_mld_mac80211_stop,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2613 .config = iwl_mld_mac80211_config,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2614 .add_interface = iwl_mld_mac80211_add_interface,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2615 .remove_interface = iwl_mld_mac80211_remove_interface,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2616 .conf_tx = iwl_mld_mac80211_conf_tx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2617 .prepare_multicast = iwl_mld_mac80211_prepare_multicast,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2618 .configure_filter = iwl_mld_mac80211_configure_filter,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2619 .reconfig_complete = iwl_mld_mac80211_reconfig_complete,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2620 .wake_tx_queue = iwl_mld_mac80211_wake_tx_queue,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2621 .add_chanctx = iwl_mld_add_chanctx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2622 .remove_chanctx = iwl_mld_remove_chanctx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2623 .change_chanctx = iwl_mld_change_chanctx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2624 .assign_vif_chanctx = iwl_mld_assign_vif_chanctx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2625 .unassign_vif_chanctx = iwl_mld_unassign_vif_chanctx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2626 .set_rts_threshold = iwl_mld_mac80211_set_rts_threshold,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2627 .link_info_changed = iwl_mld_mac80211_link_info_changed,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2628 .vif_cfg_changed = iwl_mld_mac80211_vif_cfg_changed,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2629 .set_key = iwl_mld_mac80211_set_key,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2630 .hw_scan = iwl_mld_mac80211_hw_scan,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2631 .cancel_hw_scan = iwl_mld_mac80211_cancel_hw_scan,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2632 .sched_scan_start = iwl_mld_mac80211_sched_scan_start,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2633 .sched_scan_stop = iwl_mld_mac80211_sched_scan_stop,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2634 .mgd_prepare_tx = iwl_mld_mac80211_mgd_prepare_tx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2635 .mgd_complete_tx = iwl_mld_mac_mgd_complete_tx,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 2636 .sta_state = iwl_mld_mac80211_sta_state,
d1e879ec600f9b3 Miri Korenblit 2025-02-16 @2637 .sta_statistics = iwl_mld_mac80211_sta_statistics,
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-13 9:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-12 6:51 [PATCH wireless-next v5 00/11] wifi: cfg80211/mac80211: add support to handle per link statistics of multi-link station Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 01/11] wifi: mac80211: add support towards MLO handling of station statistics Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 02/11] wifi: mac80211: refactoring sta_set_sinfo() to add support towards MLO statistics Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 03/11] wifi: cfg80211: refactoring nl80211_set_station() for link attributes towards MLO Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 04/11] wifi: cfg80211: reorg sinfo structure elements for MLO Sarika Sharma
2025-03-13 8:49 ` kernel test robot
2025-03-13 9:21 ` kernel test robot [this message]
2025-03-12 6:51 ` [PATCH wireless-next v5 05/11] wifi: cfg80211: extend statistics for link level in sinfo Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 06/11] wifi: cfg80211: add flag to indicate driver supports ML station statistics Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 07/11] wifi: cfg80211: add accumulated statistics for MLO links Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 08/11] wifi: cfg80211: add additional MLO statistics Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 09/11] wifi: mac80211: extend support to fill link level sinfo structure Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 10/11] wifi: mac80211: add support to accumulate removed link statistics Sarika Sharma
2025-03-12 6:51 ` [PATCH wireless-next v5 11/11] wifi: mac80211: correct RX stats packet increment for multi-link Sarika Sharma
2025-03-12 8:44 ` [PATCH wireless-next v5 00/11] wifi: cfg80211/mac80211: add support to handle per link statistics of multi-link station Johannes Berg
2025-03-12 17:23 ` Jeff Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202503131702.EHtf3ZYe-lkp@intel.com \
--to=lkp@intel.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_sarishar@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox