linux/drivers/target
Fengguang Wu ecf0dd6642 target/pscsi: Make pscsi_configure_device + target_release_session static
drivers/target/target_core_pscsi.c:464:5: sparse: symbol 'pscsi_configure_device'
was not declared. Should it be static?

FYI, there are new sparse warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git queue
head:   738b86ac5e56c645aa5b7bf49cb38e2a04c665f8
commit: 410aeee637c47bcf7e8dd7893347fe0811e07ab1 [47/51] target: kill struct se_subsystem_dev

vim +464 drivers/target/target_core_pscsi.c

410aeee6 Christoph Hellwig  2012-10-08 @464  int pscsi_configure_device(struct se_device *dev)
c66ac9db Nicholas Bellinger 2010-12-17  465  {
410aeee6 Christoph Hellwig  2012-10-08  466  	struct se_hba *hba = dev->se_hba;
410aeee6 Christoph Hellwig  2012-10-08  467  	struct pscsi_dev_virt *pdv = PSCSI_DEV(dev);
c66ac9db Nicholas Bellinger 2010-12-17  468  	struct scsi_device *sd;
410aeee6 Christoph Hellwig  2012-10-08  469  	struct pscsi_hba_virt *phv = dev->se_hba->hba_ptr;
c66ac9db Nicholas Bellinger 2010-12-17  470  	struct Scsi_Host *sh = phv->phv_lld_host;
c66ac9db Nicholas Bellinger 2010-12-17  471  	int legacy_mode_enable = 0;
410aeee6 Christoph Hellwig  2012-10-08  472  	int ret;

Please consider folding the attached diff :-)

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2012-11-06 20:55:45 -08:00
..
iscsi iscsi-target: Fix missed wakeup race in TX thread 2012-11-01 00:38:44 -07:00
loopback target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
sbp sbp-target: fix return value check in sbp_register_configfs() 2012-09-22 16:29:52 -07:00
tcm_fc tcm_fc: move the dereference below the NULL test 2012-09-17 18:04:09 -07:00
Kconfig sbp-target: Initial merge of firewire/ieee-1394 target mode support 2012-05-09 15:25:17 -07:00
Makefile target: move code for CDB emulation 2012-07-16 17:27:45 -07:00
target_core_alua.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_alua.h target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_configfs.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_device.c target: move REPORT LUNS emulation to target_core_spc.c 2012-11-06 20:55:44 -08:00
target_core_fabric_configfs.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_fabric_lib.c target: Fix minor spelling typos in drivers/target 2012-09-17 17:13:31 -07:00
target_core_file.c target: provide generic sbc device type/revision helpers 2012-11-06 20:55:44 -08:00
target_core_file.h target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_hba.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_iblock.c target: provide generic sbc device type/revision helpers 2012-11-06 20:55:44 -08:00
target_core_iblock.h target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_internal.h target: move REPORT LUNS emulation to target_core_spc.c 2012-11-06 20:55:44 -08:00
target_core_pr.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_pr.h target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_pscsi.c target/pscsi: Make pscsi_configure_device + target_release_session static 2012-11-06 20:55:45 -08:00
target_core_pscsi.h target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_rd.c target: provide generic sbc device type/revision helpers 2012-11-06 20:55:44 -08:00
target_core_rd.h target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_sbc.c target: provide generic sbc device type/revision helpers 2012-11-06 20:55:44 -08:00
target_core_spc.c target/pscsi: call spc_emulate_report_luns directly 2012-11-06 20:55:44 -08:00
target_core_stat.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_tmr.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_tpg.c target: Fix minor spelling typos in drivers/target 2012-09-17 17:13:31 -07:00
target_core_transport.c target/pscsi: Make pscsi_configure_device + target_release_session static 2012-11-06 20:55:45 -08:00
target_core_ua.c target: kill struct se_subsystem_dev 2012-11-06 20:55:43 -08:00
target_core_ua.h [SCSI] target: Add LIO target core v4.0.0-rc6 2011-01-14 10:12:29 -06:00