[driver-core:debugfs_cleanup 77/93] drivers/scsi/qla2xxx/qla_dfs.c:442:3: error: label 'out' 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 debugfs_cleanup
head:   b035e887993ae9ea01a16d9bad49c887557334f9
commit: c15a0efedf7dfa6eb6dd9e42244943d6bc4ab4e1 [77/93] scsi: qla2xxx: no need to check return value of debugfs_create functions
config: x86_64-kexec (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout c15a0efedf7dfa6eb6dd9e42244943d6bc4ab4e1
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/scsi/qla2xxx/qla_dfs.c: In function 'qla2x00_dfs_setup':
>> drivers/scsi/qla2xxx/qla_dfs.c:442:3: error: label 'out' used but not defined
      goto out;
      ^~~~

vim +/out +442 drivers/scsi/qla2xxx/qla_dfs.c

09620eeb6 Quinn Tran          2017-06-13  431  
09620eeb6 Quinn Tran          2017-06-13  432  
df613b960 Andrew Vasquez      2008-01-17  433  int
7b867cf76 Anirban Chakraborty 2008-11-06  434  qla2x00_dfs_setup(scsi_qla_host_t *vha)
df613b960 Andrew Vasquez      2008-01-17  435  {
7b867cf76 Anirban Chakraborty 2008-11-06  436  	struct qla_hw_data *ha = vha->hw;
3a03eb797 Andrew Vasquez      2009-01-05  437  
f73cb695d Chad Dupuis         2014-02-26  438  	if (!IS_QLA25XX(ha) && !IS_QLA81XX(ha) && !IS_QLA83XX(ha) &&
f73cb695d Chad Dupuis         2014-02-26  439  	    !IS_QLA27XX(ha))
df613b960 Andrew Vasquez      2008-01-17  440  		goto out;
df613b960 Andrew Vasquez      2008-01-17  441  	if (!ha->fce)
df613b960 Andrew Vasquez      2008-01-17 @442  		goto out;
df613b960 Andrew Vasquez      2008-01-17  443  
df613b960 Andrew Vasquez      2008-01-17  444  	if (qla2x00_dfs_root)
df613b960 Andrew Vasquez      2008-01-17  445  		goto create_dir;
df613b960 Andrew Vasquez      2008-01-17  446  
df613b960 Andrew Vasquez      2008-01-17  447  	atomic_set(&qla2x00_dfs_root_count, 0);
df613b960 Andrew Vasquez      2008-01-17  448  	qla2x00_dfs_root = debugfs_create_dir(QLA2XXX_DRIVER_NAME, NULL);
df613b960 Andrew Vasquez      2008-01-17  449  
df613b960 Andrew Vasquez      2008-01-17  450  create_dir:
df613b960 Andrew Vasquez      2008-01-17  451  	if (ha->dfs_dir)
df613b960 Andrew Vasquez      2008-01-17  452  		goto create_nodes;
df613b960 Andrew Vasquez      2008-01-17  453  
df613b960 Andrew Vasquez      2008-01-17  454  	mutex_init(&ha->fce_mutex);
7b867cf76 Anirban Chakraborty 2008-11-06  455  	ha->dfs_dir = debugfs_create_dir(vha->host_str, qla2x00_dfs_root);
df613b960 Andrew Vasquez      2008-01-17  456  
df613b960 Andrew Vasquez      2008-01-17  457  	atomic_inc(&qla2x00_dfs_root_count);
df613b960 Andrew Vasquez      2008-01-17  458  
df613b960 Andrew Vasquez      2008-01-17  459  create_nodes:
03e8c680d Quinn Tran          2015-12-17  460  	ha->dfs_fw_resource_cnt = debugfs_create_file("fw_resource_count",
03e8c680d Quinn Tran          2015-12-17  461  	    S_IRUSR, ha->dfs_dir, vha, &dfs_fw_resource_cnt_ops);
03e8c680d Quinn Tran          2015-12-17  462  
ce1025cd4 Himanshu Madhani    2015-12-17  463  	ha->dfs_tgt_counters = debugfs_create_file("tgt_counters", S_IRUSR,
ce1025cd4 Himanshu Madhani    2015-12-17  464  	    ha->dfs_dir, vha, &dfs_tgt_counters_ops);
ce1025cd4 Himanshu Madhani    2015-12-17  465  
c423437e3 Himanshu Madhani    2017-03-15  466  	ha->tgt.dfs_tgt_port_database = debugfs_create_file("tgt_port_database",
c423437e3 Himanshu Madhani    2017-03-15  467  	    S_IRUSR,  ha->dfs_dir, vha, &dfs_tgt_port_database_ops);
c423437e3 Himanshu Madhani    2017-03-15  468  
94279edec Giridhar Malavali   2009-03-24  469  	ha->dfs_fce = debugfs_create_file("fce", S_IRUSR, ha->dfs_dir, vha,
df613b960 Andrew Vasquez      2008-01-17  470  	    &dfs_fce_ops);
36c784528 Quinn Tran          2016-02-04  471  
36c784528 Quinn Tran          2016-02-04  472  	ha->tgt.dfs_tgt_sess = debugfs_create_file("tgt_sess",
36c784528 Quinn Tran          2016-02-04  473  		S_IRUSR, ha->dfs_dir, vha, &dfs_tgt_sess_ops);
36c784528 Quinn Tran          2016-02-04  474  
c15a0efed Greg Kroah-Hartman  2019-01-03  475  	if (IS_QLA27XX(ha) || IS_QLA83XX(ha))
09620eeb6 Quinn Tran          2017-06-13  476  		ha->tgt.dfs_naqp = debugfs_create_file("naqp",
09620eeb6 Quinn Tran          2017-06-13  477  		    0400, ha->dfs_dir, vha, &dfs_naqp_ops);
df613b960 Andrew Vasquez      2008-01-17  478  	return 0;
df613b960 Andrew Vasquez      2008-01-17  479  }
df613b960 Andrew Vasquez      2008-01-17  480  

:::::: The code at line 442 was first introduced by commit
:::::: df613b96077cee826b14089ae6e75eeabf71faa3 [SCSI] qla2xxx: Add Fibre Channel Event (FCE) tracing support.

:::::: TO: Andrew Vasquez <andrew.vasquez@xxxxxxxxxx>
:::::: CC: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>

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