tree:
https://github.com/jimc/linux.git dd-drm-next
head: 599fc12dacf513227ee5c9815a16a3aaa1300f27
commit: bccba5dbb682b2ea4691ac5bf88c0976bc806165 [15/19] more-emit-cleanups
config: hexagon-randconfig-r041-20211015 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
a49f5386ce6b091da66ea7c3a1d9a588d53becf7)
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/bccba5dbb682b2ea4691ac5bf88c0976bc80...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-drm-next
git checkout bccba5dbb682b2ea4691ac5bf88c0976bc806165
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=hexagon 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:441:3: error: expected expression
WARN_ONCE("cannot enable T, CONFIG_TRACE=n\n");
^
include/asm-generic/bug.h:150:29: note: expanded from macro 'WARN_ONCE'
DO_ONCE_LITE_IF(condition, WARN, 1, format)
^
lib/dynamic_debug.c:743:3: error: implicit declaration of function
'trace_array_printk' [-Werror,-Wimplicit-function-declaration]
trace_array_printk(trace_arr, _THIS_IP_, "%s%pV", buf,
&vaf);
^
lib/dynamic_debug.c:743:3: note: did you mean 'trace_printk'?
include/linux/kernel.h:467:5: note: 'trace_printk' declared here
int trace_printk(const char *fmt, ...)
^
> lib/dynamic_debug.c:771:27: error: use of undeclared identifier
'_DPRINTK_FLAGS_PRINT_TRACE'
if (descriptor->flags
& _DPRINTK_FLAGS_PRINT_TRACE)
^
lib/dynamic_debug.c:772:4: error: implicit declaration of function
'trace_array_printk' [-Werror,-Wimplicit-function-declaration]
trace_array_printk(trace_arr, _THIS_IP_, "%s%pV",
buf, &vaf);
^
4 errors generated.
vim +/_DPRINTK_FLAGS_PRINT_TRACE +771 lib/dynamic_debug.c
748
749 void __dynamic_dev_dbg(struct _ddebug *descriptor,
750 const struct device *dev, const char *fmt, ...)
751 {
752 struct va_format vaf;
753 va_list args;
754 char buf[PREFIX_SIZE] = "";
755
756 BUG_ON(!descriptor);
757 BUG_ON(!fmt);
758
759 va_start(args, fmt);
760
761 vaf.fmt = fmt;
762 vaf.va = &args;
763
764 if (descriptor->flags & _DPRINTK_ENABLED)
765 dynamic_emit_prefix(descriptor, buf);
766
767 if (!dev) {
768 if (descriptor->flags & _DPRINTK_FLAGS_PRINT)
769 printk(KERN_DEBUG "(NULL device *): %pV", &vaf);
770
771 if (descriptor->flags & _DPRINTK_FLAGS_PRINT_TRACE)
772 trace_array_printk(trace_arr, _THIS_IP_, "%s%pV", buf,
&vaf);
773 } else {
774 dev_printk_emit(LOGLEVEL_DEBUG, dev, "%s%s %s: %pV",
775 buf, dev_driver_string(dev), dev_name(dev), &vaf);
776 }
777
778 va_end(args);
779 }
780 EXPORT_SYMBOL(__dynamic_dev_dbg);
781
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org