* [driver-core:debugfs_cleanup 46/47] drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c:237:48: error: 'root' undeclared; did you mean 'ror8'?
@ 2019-11-04 8:12 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-04 8:12 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: devel, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2124 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head: ef50c0149ff6aa510790d31eb3ffd5a0d2249727
commit: e166ed14a34253629572f1f31e1389c1d606c342 [46/47] media: c8sectpfe: no need to check return value of debugfs_create functions
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e166ed14a34253629572f1f31e1389c1d606c342
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c: In function 'c8sectpfe_debugfs_init':
>> drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c:237:48: error: 'root' undeclared (first use in this function); did you mean 'ror8'?
debugfs_create_regset32("registers", S_IRUGO, root, fei->regset);
^~~~
ror8
drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c:237:48: note: each undeclared identifier is reported only once for each function it appears in
vim +237 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c
225
226 void c8sectpfe_debugfs_init(struct c8sectpfei *fei)
227 {
228 fei->regset = devm_kzalloc(fei->dev, sizeof(*fei->regset), GFP_KERNEL);
229 if (!fei->regset)
230 return;
231
232 fei->regset->regs = fei_sys_regs;
233 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs);
234 fei->regset->base = fei->io;
235
236 fei->root = debugfs_create_dir("c8sectpfe", NULL);
> 237 debugfs_create_regset32("registers", S_IRUGO, root, fei->regset);
238 }
239
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 54915 bytes --]
[-- Attachment #3: Type: text/plain, Size: 169 bytes --]
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-04 8:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 8:12 [driver-core:debugfs_cleanup 46/47] drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c:237:48: error: 'root' undeclared; did you mean 'ror8'? kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).