tree:
https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git vsp1/v3u
head: 4b88e2d75a21f477bd1aaf9eec8c567c54ffe43d
commit: 3137cddcf132248acdc0ddcba4cf33565b7ed955 [20/41] v4l: vsp1: Add debugfs system
v1.8
config: x86_64-randconfig-a004-20210618 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git/commit/...
git remote add rcar
https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git
git fetch --no-tags rcar vsp1/v3u
git checkout 3137cddcf132248acdc0ddcba4cf33565b7ed955
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
drivers/media/platform/vsp1/vsp1_debugfs.c:371:59: error: use of undeclared identifier
'VI6_WPF0_FRCNT'
seq_printf(s, "VI6_WPF0_FRCNT = 0x%08x", vsp1_read(vsp1,
VI6_WPF0_FRCNT));
^
> drivers/media/platform/vsp1/vsp1_debugfs.c:471:17: warning:
variable 'info_file' set but not used [-Wunused-but-set-variable]
struct dentry *info_file;
^
1 warning and 1 error generated.
vim +/info_file +471 drivers/media/platform/vsp1/vsp1_debugfs.c
467
468 /* Debugfs initialised after entities are created */
469 int vsp1_debugfs_init(struct vsp1_device *vsp1)
470 {
471 struct dentry *info_file;
472
473 vsp1->regset.regs = vsp1_regset;
474 vsp1->regset.base = vsp1->mmio;
475 vsp1->regset.nregs = ARRAY_SIZE(vsp1_regset);
476
477 vsp1->dbgroot = debugfs_create_dir(dev_name(vsp1->dev), NULL);
478 if (!vsp1->dbgroot)
479 return -ENOMEM;
480
481 /* dentry pointer discarded */
482 info_file = debugfs_create_file("info", 0444,
483 vsp1->dbgroot,
484 vsp1,
485 &vsp1_debugfs_info_fops);
486
487 /* dentry pointer discarded */
488 info_file = debugfs_create_file("regs_local", 0444,
489 vsp1->dbgroot,
490 vsp1,
491 &vsp1_debugfs_regs_fops);
492
493 /* dentry pointer discarded */
494 info_file = debugfs_create_file("reset_wpf0", 0444,
495 vsp1->dbgroot,
496 vsp1,
497 &vsp1_debugfs_reset_wpf_fops);
498
499 debugfs_create_regset32("regs", 0444, vsp1->dbgroot,
&vsp1->regset);
500
501 return 0;
502 }
503
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org