alistair23-linux/drivers/target/tcm_fc
Andy Grover 1edcdb497e target: Change target_submit_cmd() to return void
Retval not very useful, and may even be harmful. Once submitted, fabrics
should expect a sense error if anything goes wrong. All fabrics checking
of this retval are useless or broken:

fc checks it just to emit more debug output.
ib_srpt trickles retval up, then it is ignored.
qla2xxx trickles it up, which then causes a bug because the abort goto
in qla_target.c thinks cmd hasn't been sent to target.

Just returning nothing is best.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2012-02-07 06:41:04 +00:00
..
Kconfig [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h target: Make TFO->check_stop_free return free status 2011-11-02 15:58:30 +00:00
tfc_cmd.c target: Change target_submit_cmd() to return void 2012-02-07 06:41:04 +00:00
tfc_conf.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
tfc_io.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00
tfc_sess.c target: header reshuffle, part2 2011-12-14 11:26:05 +00:00