On Fri, Aug 20, 2021 at 8:10 AM kernel test robot <lkp(a)intel.com> wrote:
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
lib/dynamic_debug.c: In function 'param_set_dyndbg':
>> lib/dynamic_debug.c:609:68: error: invalid use of undefined type 'struct
module'
609 | matches = dynamic_debug_exec_queries(query,
kp->mod->name);
| ^~
I have fixed this, though I suspect theres a smoother way,
an already defined symbol for this.
+#ifdef MODULES
+#define KP_MOD_NAME kp->mod->name
+#else
+#define KP_MOD_NAME NULL /* wildcard */
+#endif
+ matches = dynamic_debug_exec_queries(query, KP_MOD_NAME);
I bet someone knows :-)