tree:
https://github.com/jimc/linux.git dd-drm-next
head: 531b8210367c9d9d3430d37a12c01dced8e4354f
commit: 36e19f73c31f9c5b9db4b2b4661c065a36ffc174 [2/12] dyndbg: add
DEFINE_DYNAMIC_DEBUG_CATEGORIES and callbacks
config: x86_64-randconfig-s032-20210821 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-dirty
#
https://github.com/jimc/linux/commit/36e19f73c31f9c5b9db4b2b4661c065a36ff...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-drm-next
git checkout 36e19f73c31f9c5b9db4b2b4661c065a36ffc174
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=x86_64 SHELL=/bin/bash arch/x86/platform/pvh/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/acpi.h:28,
from arch/x86/platform/pvh/enlighten.c:2:
> include/linux/dynamic_debug.h:232:68: warning: 'struct
kernel_param' declared inside parameter list will not be visible outside of this
definition or declaration
232 | static inline int param_set_dyndbg(const char
*instr, const struct kernel_param *kp)
|
^~~~~~~~~~~~
include/linux/dynamic_debug.h:234:63: warning: 'struct kernel_param' declared
inside parameter list will not be visible outside of this definition or declaration
234 | static inline int param_get_dyndbg(char *buffer, const struct kernel_param
*kp)
| ^~~~~~~~~~~~
arch/x86/platform/pvh/enlighten.c:39:20: warning: no previous prototype for
'mem_map_via_hcall' [-Wmissing-prototypes]
39 | void __init __weak mem_map_via_hcall(struct boot_params *ptr __maybe_unused)
| ^~~~~~~~~~~~~~~~~
arch/x86/platform/pvh/enlighten.c:104:20: warning: no previous prototype for
'xen_pvh_init' [-Wmissing-prototypes]
104 | void __init __weak xen_pvh_init(struct boot_params *boot_params)
| ^~~~~~~~~~~~
arch/x86/platform/pvh/enlighten.c:120:13: warning: no previous prototype for
'xen_prepare_pvh' [-Wmissing-prototypes]
120 | void __init xen_prepare_pvh(void)
| ^~~~~~~~~~~~~~~
vim +232 include/linux/dynamic_debug.h
231
232 static inline int param_set_dyndbg(const char *instr, const
struct kernel_param *kp)
233 { return 0; }
234 static inline int param_get_dyndbg(char *buffer, const struct kernel_param *kp)
235 { return 0; }
236
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org