[driver-core:fi_cleanup 1/1] drivers/mmc/core/debugfs.c:254:3: error: label 'err_node' used but not defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git fi_cleanup
head:   7fde561511499c5543938f8b9a86887f4b156730
commit: 7fde561511499c5543938f8b9a86887f4b156730 [1/1] fault_inject: clean up fault_create_debugfs_attr
config: x86_64-randconfig-x013-201901 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 7fde561511499c5543938f8b9a86887f4b156730
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/mmc/core/debugfs.c: In function 'mmc_add_host_debugfs':
>> drivers/mmc/core/debugfs.c:254:3: error: label 'err_node' used but not defined
      goto err_node;
      ^~~~

vim +/err_node +254 drivers/mmc/core/debugfs.c

703aae3d Andy Shevchenko    2010-10-13  224  
703aae3d Andy Shevchenko    2010-10-13  225  DEFINE_SIMPLE_ATTRIBUTE(mmc_clock_fops, mmc_clock_opt_get, mmc_clock_opt_set,
703aae3d Andy Shevchenko    2010-10-13  226  	"%llu\n");
703aae3d Andy Shevchenko    2010-10-13  227  
6edd8ee6 Haavard Skinnemoen 2008-07-24  228  void mmc_add_host_debugfs(struct mmc_host *host)
6edd8ee6 Haavard Skinnemoen 2008-07-24  229  {
6edd8ee6 Haavard Skinnemoen 2008-07-24  230  	struct dentry *root;
6edd8ee6 Haavard Skinnemoen 2008-07-24  231  
6edd8ee6 Haavard Skinnemoen 2008-07-24  232  	root = debugfs_create_dir(mmc_hostname(host), NULL);
6edd8ee6 Haavard Skinnemoen 2008-07-24  233  	if (IS_ERR(root))
6edd8ee6 Haavard Skinnemoen 2008-07-24  234  		/* Don't complain -- debugfs just isn't enabled */
6edd8ee6 Haavard Skinnemoen 2008-07-24  235  		return;
6edd8ee6 Haavard Skinnemoen 2008-07-24  236  	if (!root)
6edd8ee6 Haavard Skinnemoen 2008-07-24  237  		/* Complain -- debugfs is enabled, but it failed to
6edd8ee6 Haavard Skinnemoen 2008-07-24  238  		 * create the directory. */
6edd8ee6 Haavard Skinnemoen 2008-07-24  239  		goto err_root;
6edd8ee6 Haavard Skinnemoen 2008-07-24  240  
6edd8ee6 Haavard Skinnemoen 2008-07-24  241  	host->debugfs_root = root;
6edd8ee6 Haavard Skinnemoen 2008-07-24  242  
6edd8ee6 Haavard Skinnemoen 2008-07-24  243  	if (!debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops))
703aae3d Andy Shevchenko    2010-10-13  244  		goto err_node;
703aae3d Andy Shevchenko    2010-10-13  245  
9c5c685e Abbas Raza         2018-03-05  246  	if (!debugfs_create_x32("caps", S_IRUSR, root, &host->caps))
9c5c685e Abbas Raza         2018-03-05  247  		goto err_node;
9c5c685e Abbas Raza         2018-03-05  248  
9c5c685e Abbas Raza         2018-03-05  249  	if (!debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2))
9c5c685e Abbas Raza         2018-03-05  250  		goto err_node;
9c5c685e Abbas Raza         2018-03-05  251  
703aae3d Andy Shevchenko    2010-10-13  252  	if (!debugfs_create_file("clock", S_IRUSR | S_IWUSR, root, host,
703aae3d Andy Shevchenko    2010-10-13  253  			&mmc_clock_fops))
703aae3d Andy Shevchenko    2010-10-13 @254  		goto err_node;
6edd8ee6 Haavard Skinnemoen 2008-07-24  255  

:::::: The code at line 254 was first introduced by commit
:::::: 703aae3d09a4b351866f1a97b2afafb905bdbf1e mmc: add a file to debugfs for changing host clock at runtime

:::::: TO: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
:::::: CC: Chris Ball <cjb@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux