DriverDev-Devel Archive on
 help / color / Atom feed
* [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: 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
        wget -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 <>

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);
   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

   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;
   232		fei->regset->regs = fei_sys_regs;
   233		fei->regset->nregs = ARRAY_SIZE(fei_sys_regs);
   234		fei->regset->base = fei->io;
   236		fei->root = debugfs_create_dir("c8sectpfe", NULL);
 > 237		debugfs_create_regset32("registers", S_IRUGO, root, fei->regset);
   238	}

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 54915 bytes --]

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

devel mailing list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

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

DriverDev-Devel Archive on

Archives are clonable:
	git clone --mirror driverdev-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 driverdev-devel driverdev-devel/ \
	public-inbox-index driverdev-devel

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone