From: John Pittman Date: Wed, 14 Mar 2018 13:52:36 +0000 (-0400) Subject: scsi: scsi_dh_alua: Correct comment for alua_alloc_pg() X-Git-Tag: v4.17-rc1~112^2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e8c3002e350f4aa6b1c4c9d5a0409926e6eb556;p=thirdparty%2Fkernel%2Flinux.git 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. Signed-off-by: John Pittman Reviewed-by Laurence Oberman Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/device_handler/scsi_dh_alua.c b/drivers/scsi/device_handler/scsi_dh_alua.c index c3483d811824e..acd7fb356f01e 100644 --- a/drivers/scsi/device_handler/scsi_dh_alua.c +++ b/drivers/scsi/device_handler/scsi_dh_alua.c @@ -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.