aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/loopback
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-05-01 11:47:56 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2015-05-31 01:42:27 -0400
commite4aae5af810eaa61c2cd7ba79d95ebfe0d88fe9b (patch)
tree7149b3110c42ab0a549502286dd4efe693d09940 /drivers/target/loopback
parent3868e4365f1735698df373733c9d99d7b9a688e8 (diff)
target: change core_tpg_register prototype
Remove the unneeded fabric_ptr argument, and change the type argument to pass in a SPC protocol identifier. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/loopback')
-rw-r--r--drivers/target/loopback/tcm_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c
index 9436bdfef091..3f264d436737 100644
--- a/drivers/target/loopback/tcm_loop.c
+++ b/drivers/target/loopback/tcm_loop.c
@@ -1204,8 +1204,8 @@ static struct se_portal_group *tcm_loop_make_naa_tpg(
1204 /* 1204 /*
1205 * Register the tl_tpg as a emulated SAS TCM Target Endpoint 1205 * Register the tl_tpg as a emulated SAS TCM Target Endpoint
1206 */ 1206 */
1207 ret = core_tpg_register(&loop_ops, wwn, &tl_tpg->tl_se_tpg, tl_tpg, 1207 ret = core_tpg_register(&loop_ops, wwn, &tl_tpg->tl_se_tpg,
1208 TRANSPORT_TPG_TYPE_NORMAL); 1208 tl_hba->tl_proto_id);
1209 if (ret < 0) 1209 if (ret < 0)
1210 return ERR_PTR(-ENOMEM); 1210 return ERR_PTR(-ENOMEM);
1211 1211