[driver-core:debugfs_cleanup 70/70] sound/soc//codecs/wm_adsp.c:616:3: error: label 'err' used but not defined

kbuild test robot lkp at intel.com
Thu Jan 3 23:49:13 UTC 2019


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_cleanup
head:   ab2bf016efcd6603fab18068c1f3dd76f1389f7f
commit: ab2bf016efcd6603fab18068c1f3dd76f1389f7f [70/70] WIP: split up the pieces...
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.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 ab2bf016efcd6603fab18068c1f3dd76f1389f7f
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   sound/soc//codecs/wm_adsp.c: In function 'wm_adsp2_init_debugfs':
>> sound/soc//codecs/wm_adsp.c:616:3: error: label 'err' used but not defined
      goto err;
      ^~~~

vim +/err +616 sound/soc//codecs/wm_adsp.c

f9f55e31f Richard Fitzgerald 2015-06-11  607  
f9f55e31f Richard Fitzgerald 2015-06-11  608  static void wm_adsp2_init_debugfs(struct wm_adsp *dsp,
0fe1daa66 Kuninori Morimoto  2018-02-13  609  				  struct snd_soc_component *component)
f9f55e31f Richard Fitzgerald 2015-06-11  610  {
f9f55e31f Richard Fitzgerald 2015-06-11  611  	struct dentry *root = NULL;
f9f55e31f Richard Fitzgerald 2015-06-11  612  	int i;
f9f55e31f Richard Fitzgerald 2015-06-11  613  
0fe1daa66 Kuninori Morimoto  2018-02-13  614  	if (!component->debugfs_root) {
f9f55e31f Richard Fitzgerald 2015-06-11  615  		adsp_err(dsp, "No codec debugfs root\n");
f9f55e31f Richard Fitzgerald 2015-06-11 @616  		goto err;
f9f55e31f Richard Fitzgerald 2015-06-11  617  	}
f9f55e31f Richard Fitzgerald 2015-06-11  618  
605391d0f Richard Fitzgerald 2018-08-08  619  	root = debugfs_create_dir(dsp->name, component->debugfs_root);
f9f55e31f Richard Fitzgerald 2015-06-11  620  
ab2bf016e Greg Kroah-Hartman 2019-01-03  621  	debugfs_create_bool("booted", 0444, root, &dsp->booted);
ab2bf016e Greg Kroah-Hartman 2019-01-03  622  	debugfs_create_bool("running", 0444, root, &dsp->running);
ab2bf016e Greg Kroah-Hartman 2019-01-03  623  	debugfs_create_x32("fw_id", 0444, root, &dsp->fw_id);
ab2bf016e Greg Kroah-Hartman 2019-01-03  624  	debugfs_create_x32("fw_version", 0444, root, &dsp->fw_id_version);
f9f55e31f Richard Fitzgerald 2015-06-11  625  
ab2bf016e Greg Kroah-Hartman 2019-01-03  626  	for (i = 0; i < ARRAY_SIZE(wm_adsp_debugfs_fops); ++i)
ab2bf016e Greg Kroah-Hartman 2019-01-03  627  		debugfs_create_file(wm_adsp_debugfs_fops[i].name, 0444, root,
ab2bf016e Greg Kroah-Hartman 2019-01-03  628  				    dsp, &wm_adsp_debugfs_fops[i].fops);
f9f55e31f Richard Fitzgerald 2015-06-11  629  
f9f55e31f Richard Fitzgerald 2015-06-11  630  	dsp->debugfs_root = root;
f9f55e31f Richard Fitzgerald 2015-06-11  631  }
f9f55e31f Richard Fitzgerald 2015-06-11  632  

:::::: The code at line 616 was first introduced by commit
:::::: f9f55e31f8a537b7eaccc4fdb243cff938fa428c ASoC: wm_adsp: Add basic debugfs entries

:::::: TO: Richard Fitzgerald <rf at opensource.wolfsonmicro.com>
:::::: CC: Mark Brown <broonie at kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 50803 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190104/9559c0b8/attachment-0001.bin>


More information about the devel mailing list