scsi: scsi_dh_alua: Correct comment for alua_alloc_pg()
authorJohn Pittman <jpittman@redhat.com>
Wed, 14 Mar 2018 13:52:36 +0000 (09:52 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Mar 2018 04:32:02 +0000 (00:32 -0400)
In the comment for function alua_alloc_pg() the argument '@h' is
mistakenly referred to.  Fix this by replacing it with the correct
argument reference, '@tpgs', and provide a short description.

Signed-off-by: John Pittman <jpittman@redhat.com>
Reviewed-by Laurence Oberman <loberman@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c

index c3483d811824ee4ade79d6089e2f49ed75986ff7..acd7fb356f01ece9e060737f46d137647000f323 100644 (file)
@@ -214,8 +214,8 @@ static struct alua_port_group *alua_find_get_pg(char *id_str, size_t id_size,
 /*
  * alua_alloc_pg - Allocate a new port_group structure
  * @sdev: scsi device
- * @h: alua device_handler data
  * @group_id: port group id
+ * @tpgs: target port group settings
  *
  * Allocate a new port_group structure for a given
  * device.