diff options
Diffstat (limited to 'drivers/scsi/scsi_transport_srp.c')
-rw-r--r-- | drivers/scsi/scsi_transport_srp.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/scsi/scsi_transport_srp.c b/drivers/scsi/scsi_transport_srp.c index 65c584db33bd..2445c98ae95e 100644 --- a/drivers/scsi/scsi_transport_srp.c +++ b/drivers/scsi/scsi_transport_srp.c | |||
@@ -185,11 +185,10 @@ static int srp_host_match(struct attribute_container *cont, struct device *dev) | |||
185 | 185 | ||
186 | /** | 186 | /** |
187 | * srp_rport_add - add a SRP remote port to the device hierarchy | 187 | * srp_rport_add - add a SRP remote port to the device hierarchy |
188 | * | ||
189 | * @shost: scsi host the remote port is connected to. | 188 | * @shost: scsi host the remote port is connected to. |
190 | * @ids: The port id for the remote port. | 189 | * @ids: The port id for the remote port. |
191 | * | 190 | * |
192 | * publishes a port to the rest of the system | 191 | * Publishes a port to the rest of the system. |
193 | */ | 192 | */ |
194 | struct srp_rport *srp_rport_add(struct Scsi_Host *shost, | 193 | struct srp_rport *srp_rport_add(struct Scsi_Host *shost, |
195 | struct srp_rport_identifiers *ids) | 194 | struct srp_rport_identifiers *ids) |
@@ -242,8 +241,8 @@ struct srp_rport *srp_rport_add(struct Scsi_Host *shost, | |||
242 | EXPORT_SYMBOL_GPL(srp_rport_add); | 241 | EXPORT_SYMBOL_GPL(srp_rport_add); |
243 | 242 | ||
244 | /** | 243 | /** |
245 | * srp_rport_del -- remove a SRP remote port | 244 | * srp_rport_del - remove a SRP remote port |
246 | * @port: SRP remote port to remove | 245 | * @rport: SRP remote port to remove |
247 | * | 246 | * |
248 | * Removes the specified SRP remote port. | 247 | * Removes the specified SRP remote port. |
249 | */ | 248 | */ |
@@ -271,7 +270,7 @@ static int do_srp_rport_del(struct device *dev, void *data) | |||
271 | } | 270 | } |
272 | 271 | ||
273 | /** | 272 | /** |
274 | * srp_remove_host -- tear down a Scsi_Host's SRP data structures | 273 | * srp_remove_host - tear down a Scsi_Host's SRP data structures |
275 | * @shost: Scsi Host that is torn down | 274 | * @shost: Scsi Host that is torn down |
276 | * | 275 | * |
277 | * Removes all SRP remote ports for a given Scsi_Host. | 276 | * Removes all SRP remote ports for a given Scsi_Host. |
@@ -297,7 +296,7 @@ static int srp_it_nexus_response(struct Scsi_Host *shost, u64 nexus, int result) | |||
297 | } | 296 | } |
298 | 297 | ||
299 | /** | 298 | /** |
300 | * srp_attach_transport -- instantiate SRP transport template | 299 | * srp_attach_transport - instantiate SRP transport template |
301 | * @ft: SRP transport class function template | 300 | * @ft: SRP transport class function template |
302 | */ | 301 | */ |
303 | struct scsi_transport_template * | 302 | struct scsi_transport_template * |
@@ -337,7 +336,7 @@ srp_attach_transport(struct srp_function_template *ft) | |||
337 | EXPORT_SYMBOL_GPL(srp_attach_transport); | 336 | EXPORT_SYMBOL_GPL(srp_attach_transport); |
338 | 337 | ||
339 | /** | 338 | /** |
340 | * srp_release_transport -- release SRP transport template instance | 339 | * srp_release_transport - release SRP transport template instance |
341 | * @t: transport template instance | 340 | * @t: transport template instance |
342 | */ | 341 | */ |
343 | void srp_release_transport(struct scsi_transport_template *t) | 342 | void srp_release_transport(struct scsi_transport_template *t) |