Skip to contentSkip to conversation

scsi: scsi_dh_alua: Correct comment for alua_alloc_pg()

PATCH In review John Pittman 2 participants 2 messages Mar 14, 2018 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: scsi_dh_alua: Correct comment for alua_alloc_pg()

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.

---
 drivers/scsi/device_handler/scsi_dh_alua.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/device_handler/scsi_dh_alua.c +1 -1
index 4b44325..ab89e42 100644
@@ -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.
Signature · 1 line
2.7.5
#1 lore raw

John,

Quoted 3 lines

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.

Please submit to [email protected]. Otherwise the patch won't get picked up by patchwork.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering