Search Linux Wireless

Re: [PATCH v3 06/11] wifi: cfg80211: pass net_device to .set_monitor_channel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felix,

kernel test robot noticed the following build errors:

[auto build test ERROR on 5a4d42c1688c88f3be6aef46b0ea6c32694cd2b8]

url:    https://github.com/intel-lab-lkp/linux/commits/Felix-Fietkau/wifi-cfg80211-add-option-for-vif-allowed-radios/20241005-043111
base:   5a4d42c1688c88f3be6aef46b0ea6c32694cd2b8
patch link:    https://lore.kernel.org/r/567010510413a90f26e8f045b60243624d97a225.1728063865.git-series.nbd%40nbd.name
patch subject: [PATCH v3 06/11] wifi: cfg80211: pass net_device to .set_monitor_channel
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20241008/202410081114.ZC1D90Ua-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241008/202410081114.ZC1D90Ua-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410081114.ZC1D90Ua-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from net/wireless/trace.c:5:
   In file included from net/wireless/trace.h:4113:
   In file included from include/trace/define_trace.h:102:
   In file included from include/trace/trace_events.h:237:
>> net/wireless/trace.h:1335:34: error: no member named 'center_freq' in 'struct trace_event_raw_rdev_set_monitor_channel'
    1335 |                   WIPHY_PR_ARG, NETDEV_PR_ARG, CHAN_PR_ARG)
         |                                                ^~~~~~~~~~~
   net/wireless/trace.h:135:45: note: expanded from macro 'CHAN_PR_ARG'
     135 | #define CHAN_PR_ARG __entry->band, __entry->center_freq, __entry->freq_offset
         |                                    ~~~~~~~  ^
   include/trace/stages/stage3_trace_output.h:9:43: note: expanded from macro 'TP_printk'
       9 | #define TP_printk(fmt, args...) fmt "\n", args
         |                                           ^~~~
   include/trace/trace_events.h:45:16: note: expanded from macro 'TRACE_EVENT'
      45 |                              PARAMS(print));                   \
         |                                     ^~~~~
   include/linux/tracepoint.h:106:25: note: expanded from macro 'PARAMS'
     106 | #define PARAMS(args...) args
         |                         ^~~~
   include/trace/trace_events.h:203:27: note: expanded from macro 'DECLARE_EVENT_CLASS'
     203 |         trace_event_printf(iter, print);                                \
         |                                  ^~~~~
   1 error generated.


vim +1335 net/wireless/trace.h

  1319	
  1320	TRACE_EVENT(rdev_set_monitor_channel,
  1321		TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
  1322			 struct cfg80211_chan_def *chandef),
  1323		TP_ARGS(wiphy, netdev, chandef),
  1324		TP_STRUCT__entry(
  1325			WIPHY_ENTRY
  1326			NETDEV_ENTRY
  1327			CHAN_DEF_ENTRY
  1328		),
  1329		TP_fast_assign(
  1330			WIPHY_ASSIGN;
  1331			NETDEV_ASSIGN;
  1332			CHAN_DEF_ASSIGN(chandef);
  1333		),
  1334		TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", " CHAN_PR_FMT,
> 1335			  WIPHY_PR_ARG, NETDEV_PR_ARG, CHAN_PR_ARG)
  1336	);
  1337	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux