tree:
https://github.com/jimc/linux.git dd-drm-next
head: e3f40a2de6dbe092915c690ba4c346af81d164dd
commit: 9025ef40678e996b49efb875cefcec5d004a4795 [2/12] dyndbg: add
DEFINE_DYNAMIC_DEBUG_CATEGORIES and callbacks
config: i386-randconfig-c001-20210821 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
a83d99c55ebb14532c414066a5aa3bdb65389965)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/jimc/linux/commit/9025ef40678e996b49efb875cefcec5d004a...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-drm-next
git checkout 9025ef40678e996b49efb875cefcec5d004a4795
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386
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 >>):
In file included from <built-in>:4:
In file included from drivers/gpu/drm/i915/display/intel_display_types.h:30:
In file included from include/linux/i2c.h:13:
In file included from include/linux/acpi.h:28:
> include/linux/dynamic_debug.h:232:68: error: declaration of
'struct kernel_param' will not be visible outside of this function
[-Werror,-Wvisibility]
static inline int param_set_dyndbg(const char *instr,
const struct kernel_param *kp)
^
include/linux/dynamic_debug.h:234:63: error: declaration of 'struct
kernel_param' will not be visible outside of this function [-Werror,-Wvisibility]
static inline int param_get_dyndbg(char *buffer, const struct kernel_param *kp)
^
2 errors generated.
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