Search Linux Wireless

Re: [PATCH v3 1/5] cfg80211: add KHz variants of frame RX API

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

 



Hi Thomas,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on mac80211-next/master]
[cannot apply to mac80211/master v5.7-rc3 next-20200429]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Thomas-Pedersen/initial-S1G-defines/20200430-091307
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from include/trace/define_trace.h:102,
                    from net/wireless/trace.h:3537,
                    from net/wireless/trace.c:5:
   net/wireless/./trace.h: In function 'trace_raw_output_cfg80211_rx_mgmt_khz':
>> include/trace/trace_events.h:359:9: error: unable to generate reloads for:
     359 |  struct trace_event_raw_##call *field;    \
         |         ^~~~~~~~~~~~~~~~
   include/trace/trace_events.h:75:2: note: in expansion of macro 'DECLARE_EVENT_CLASS'
      75 |  DECLARE_EVENT_CLASS(name,          \
         |  ^~~~~~~~~~~~~~~~~~~
   net/wireless/./trace.h:2830:1: note: in expansion of macro 'TRACE_EVENT'
    2830 | TRACE_EVENT(cfg80211_rx_mgmt_khz,
         | ^~~~~~~~~~~
   (insn 27 26 22 4 (set (reg:SF 28 %r28 [113])
           (float:SF (reg:SI 28 %r28 [orig:114 field_12->freq ] [114]))) "net/wireless/./trace.h":2830:1 96 {floatsisf2}
        (expr_list:REG_DEAD (reg:SI 28 %r28 [orig:114 field_12->freq ] [114])
           (nil)))
   during RTL pass: reload
   include/trace/trace_events.h:359:9: internal compiler error: in find_reloads, at reload.c:3814
     359 |  struct trace_event_raw_##call *field;    \
         |         ^~~~~~~~~~~~~~~~
   include/trace/trace_events.h:75:2: note: in expansion of macro 'DECLARE_EVENT_CLASS'
      75 |  DECLARE_EVENT_CLASS(name,          \
         |  ^~~~~~~~~~~~~~~~~~~
   net/wireless/./trace.h:2830:1: note: in expansion of macro 'TRACE_EVENT'
    2830 | TRACE_EVENT(cfg80211_rx_mgmt_khz,
         | ^~~~~~~~~~~
   0x513fa0 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/rtl-error.c:108
   0x513967 find_reloads(rtx_insn*, int, int, int, short*)
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/reload.c:3814
   0x984bb6 calculate_needs_all_insns
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/reload1.c:1474
   0x984bb6 reload(rtx_insn*, int)
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/reload1.c:986
   0x847ef0 do_reload
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/ira.c:5535
   0x847ef0 execute
   	/tmp/build-crosstools-xh-9.3.0-2.34/gcc/gcc-9.3.0/gcc/ira.c:5707
   Please submit a full bug report,
   with preprocessed source if appropriate.
   Please include the complete backtrace with any bug report.
   See <https://gcc.gnu.org/bugs/> for instructions.

vim +359 include/trace/trace_events.h

2fc1b6f0d0a719 include/trace/ftrace.h       liubo                    2011-04-19  328  
5a2e3995951176 include/trace/ftrace.h       Kei Tokunaga             2010-04-01  329  #undef __print_hex
2acae0d5b0f73a include/trace/trace_events.h Daniel Borkmann          2017-01-25  330  #define __print_hex(buf, buf_len)					\
3898fac1f488c7 include/trace/trace_events.h Daniel Borkmann          2017-02-02  331  	trace_print_hex_seq(p, buf, buf_len, false)
2acae0d5b0f73a include/trace/trace_events.h Daniel Borkmann          2017-01-25  332  
2acae0d5b0f73a include/trace/trace_events.h Daniel Borkmann          2017-01-25  333  #undef __print_hex_str
2acae0d5b0f73a include/trace/trace_events.h Daniel Borkmann          2017-01-25  334  #define __print_hex_str(buf, buf_len)					\
3898fac1f488c7 include/trace/trace_events.h Daniel Borkmann          2017-02-02  335  	trace_print_hex_seq(p, buf, buf_len, true)
5a2e3995951176 include/trace/ftrace.h       Kei Tokunaga             2010-04-01  336  
6ea22486ba46bc include/trace/ftrace.h       Dave Martin              2015-01-28  337  #undef __print_array
6ea22486ba46bc include/trace/ftrace.h       Dave Martin              2015-01-28  338  #define __print_array(array, count, el_size)				\
6ea22486ba46bc include/trace/ftrace.h       Dave Martin              2015-01-28  339  	({								\
6ea22486ba46bc include/trace/ftrace.h       Dave Martin              2015-01-28  340  		BUILD_BUG_ON(el_size != 1 && el_size != 2 &&		\
6ea22486ba46bc include/trace/ftrace.h       Dave Martin              2015-01-28  341  			     el_size != 4 && el_size != 8);		\
645df987f7c174 include/trace/trace_events.h Steven Rostedt (Red Hat  2015-05-04  342) 		trace_print_array_seq(p, array, count, el_size);	\
6ea22486ba46bc include/trace/ftrace.h       Dave Martin              2015-01-28  343  	})
6ea22486ba46bc include/trace/ftrace.h       Dave Martin              2015-01-28  344  
ef56e047b2bd4d include/trace/trace_events.h Piotr Maziarz            2019-11-07  345  #undef __print_hex_dump
ef56e047b2bd4d include/trace/trace_events.h Piotr Maziarz            2019-11-07  346  #define __print_hex_dump(prefix_str, prefix_type,			\
ef56e047b2bd4d include/trace/trace_events.h Piotr Maziarz            2019-11-07  347  			 rowsize, groupsize, buf, len, ascii)		\
ef56e047b2bd4d include/trace/trace_events.h Piotr Maziarz            2019-11-07  348  	trace_print_hex_dump_seq(p, prefix_str, prefix_type,		\
ef56e047b2bd4d include/trace/trace_events.h Piotr Maziarz            2019-11-07  349  				 rowsize, groupsize, buf, len, ascii)
ef56e047b2bd4d include/trace/trace_events.h Piotr Maziarz            2019-11-07  350  
091ad3658e3c76 include/trace/ftrace.h       Ingo Molnar              2009-11-26  351  #undef DECLARE_EVENT_CLASS
091ad3658e3c76 include/trace/ftrace.h       Ingo Molnar              2009-11-26  352  #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
83f0d53993b296 include/trace/ftrace.h       Steven Rostedt           2010-02-16  353  static notrace enum print_line_t					\
892c505aac2bdd include/trace/trace_events.h Steven Rostedt (Red Hat  2015-05-05  354) trace_raw_output_##call(struct trace_iterator *iter, int flags,		\
80decc70afc57c include/trace/ftrace.h       Steven Rostedt           2010-04-23  355  			struct trace_event *trace_event)		\
f42c85e74faa42 include/trace/ftrace.h       Steven Rostedt           2009-04-13  356  {									\
f42c85e74faa42 include/trace/ftrace.h       Steven Rostedt           2009-04-13  357  	struct trace_seq *s = &iter->seq;				\
f71130de5c7fba include/trace/ftrace.h       Li Zefan                 2013-02-21  358  	struct trace_seq __maybe_unused *p = &iter->tmp_seq;		\
a7237765730a10 include/trace/trace_events.h Steven Rostedt (Red Hat  2015-05-13 @359) 	struct trace_event_raw_##call *field;				\
f42c85e74faa42 include/trace/ftrace.h       Steven Rostedt           2009-04-13  360  	int ret;							\
f42c85e74faa42 include/trace/ftrace.h       Steven Rostedt           2009-04-13  361  									\
f71130de5c7fba include/trace/ftrace.h       Li Zefan                 2013-02-21  362  	field = (typeof(field))iter->ent;				\
80decc70afc57c include/trace/ftrace.h       Steven Rostedt           2010-04-23  363  									\
892c505aac2bdd include/trace/trace_events.h Steven Rostedt (Red Hat  2015-05-05  364) 	ret = trace_raw_output_prep(iter, trace_event);			\
8e2e095cbecad2 include/trace/ftrace.h       Steven Rostedt (Red Hat  2014-11-14  365) 	if (ret != TRACE_TYPE_HANDLED)					\
f71130de5c7fba include/trace/ftrace.h       Li Zefan                 2013-02-21  366  		return ret;						\
f71130de5c7fba include/trace/ftrace.h       Li Zefan                 2013-02-21  367  									\
19a7fe206232cc include/trace/ftrace.h       Steven Rostedt (Red Hat  2014-11-12  368) 	trace_seq_printf(s, print);					\
f42c85e74faa42 include/trace/ftrace.h       Steven Rostedt           2009-04-13  369  									\
19a7fe206232cc include/trace/ftrace.h       Steven Rostedt (Red Hat  2014-11-12  370) 	return trace_handle_return(s);					\
80decc70afc57c include/trace/ftrace.h       Steven Rostedt           2010-04-23  371  }									\
3ad017bac94ac8 include/trace/trace_events.h Steven Rostedt (Red Hat  2015-05-13  372) static struct trace_event_functions trace_event_type_funcs_##call = {	\
892c505aac2bdd include/trace/trace_events.h Steven Rostedt (Red Hat  2015-05-05  373) 	.trace			= trace_raw_output_##call,		\
80decc70afc57c include/trace/ftrace.h       Steven Rostedt           2010-04-23  374  };
ff038f5c37c207 include/trace/ftrace.h       Steven Rostedt           2009-11-18  375  

:::::: The code at line 359 was first introduced by commit
:::::: a7237765730a10d429736f47ac4b89779ec6c534 tracing: Rename ftrace_raw_##call event structures to trace_event_raw_##call

:::::: TO: Steven Rostedt (Red Hat) <rostedt@xxxxxxxxxxx>
:::::: CC: Steven Rostedt <rostedt@xxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[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