tree:
https://github.com/morimoto/linux sound/2021-05-19-v1
head: d9ea427068846f93ab97650cad49c16c901ee98e
commit: 414cf7fa2902ffed9742c0e71908061b5199fc1c [106/107] ASoC: rsnd: add debugfs
support
config: ia64-randconfig-r002-20210519 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
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/morimoto/linux/commit/414cf7fa2902ffed9742c0e71908061b...
git remote add morimoto-linux
https://github.com/morimoto/linux
git fetch --no-tags morimoto-linux sound/2021-05-19-v1
git checkout 414cf7fa2902ffed9742c0e71908061b5199fc1c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
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 arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from arch/ia64/include/asm/uaccess.h:40,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/debugfs.h:15,
from sound/soc/sh/rcar/debugfs.c:14:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:127:41: warning: variable 'old_rr4' set but
not used [-Wunused-but-set-variable]
127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
sound/soc/sh/rcar/debugfs.c: In function 'rsnd_debugfs_probe':
> sound/soc/sh/rcar/debugfs.c:68:17: warning: variable
'root' set but not used [-Wunused-but-set-variable]
68 | struct
dentry *root, *dir;
| ^~~~
vim +/root +68 sound/soc/sh/rcar/debugfs.c
63
64 int rsnd_debugfs_probe(struct snd_soc_component *component)
65 {
66 struct rsnd_priv *priv = dev_get_drvdata(component->dev);
67 struct rsnd_dai *rdai;
68 struct dentry *root, *dir;
69 char name[64];
70 int i;
71
72 /* Gen1 is not supported */
73 if (rsnd_is_gen1(priv))
74 return 0;
75
76 for_each_rsnd_dai(rdai, priv, i) {
77 /*
78 * created debugfs will be automatically
79 * removed, nothing to do for _remove.
80 * see
81 * soc_cleanup_component_debugfs()
82 */
83 snprintf(name, sizeof(name), "rdai%d", i);
84 root = debugfs_create_dir(name, component->debugfs_root);
85
86 debugfs_create_file("playback", 0444, dir, &rdai->playback,
&rsnd_debugfs_fops); \
87 debugfs_create_file("capture", 0444, dir, &rdai->capture ,
&rsnd_debugfs_fops); \
88 }
89
90 return 0;
91 }
92
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org