Hi Jim,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tip/x86/core]
[also build test ERROR on jeyu/modules-next tip/x86/vdso efi/next drm-intel/for-linux-next
kbuild/for-next linus/master v5.12-rc3 next-20210316]
[cannot apply to asm-generic/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Jim-Cromie/dynamic-debug-diet-pl...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
f935178b5c1c32ff803b15892a8ba85a1280cb01
config: x86_64-kexec (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/ab53c81cf1fe36968a79663d70608fbab...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Jim-Cromie/dynamic-debug-diet-plan/20210316-131054
git checkout ab53c81cf1fe36968a79663d70608fbab81c6b50
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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 >>):
kernel/module.c: In function 'dynamic_debug_setup':
kernel/module.c:2788:27: warning: passing argument 2 of 'ddebug_add_module'
makes integer from pointer without a cast [-Wint-conversion]
2788 | ddebug_add_module(debug, sites, num, mod->name);
| ^~~~~
| |
| struct _ddebug_site *
In file included from kernel/module.c:57:
include/linux/dynamic_debug.h:206:71: note: expected 'unsigned int' but
argument is of type 'struct _ddebug_site *'
206 | static inline int ddebug_add_module(struct _ddebug *tab, unsigned int n,
| ~~~~~~~~~~~~~^
kernel/module.c:2788:34: warning: passing argument 3 of 'ddebug_add_module'
makes pointer from integer without a cast [-Wint-conversion]
2788 | ddebug_add_module(debug, sites, num, mod->name);
| ^~~
| |
| unsigned int
In file included from kernel/module.c:57:
include/linux/dynamic_debug.h:207:21: note: expected 'const char *' but
argument is of type 'unsigned int'
207 | const char *modname)
| ~~~~~~~~~~~~^~~~~~~
> kernel/module.c:2788:2: error: too many arguments to function
'ddebug_add_module'
2788 | ddebug_add_module(debug, sites, num,
mod->name);
| ^~~~~~~~~~~~~~~~~
In file included from kernel/module.c:57:
include/linux/dynamic_debug.h:206:19: note: declared here
206 | static inline int ddebug_add_module(struct _ddebug *tab, unsigned int n,
| ^~~~~~~~~~~~~~~~~
vim +/ddebug_add_module +2788 kernel/module.c
2782
2783 static void dynamic_debug_setup(struct module *mod, struct _ddebug *debug,
2784 struct _ddebug_site *sites, unsigned int num)
2785 {
2786 if (!debug)
2787 return;
2788 ddebug_add_module(debug, sites, num, mod->name);
2789 }
2790
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org