scsi: core: Minor comment fix for scsi_host_busy()
PATCH 1/1 scsi: core: Minor comment fix for scsi_host_busy()
I guess that the comment on scsi_host_busy() was copied from scsi_host_get() (as it is the same), however they do not do the same thing.
Signed-off-by John Garry <[email protected]>
drivers/scsi/hosts.c +1 -1
@@ -605,7 +605,7 @@ static bool scsi_host_check_in_flight(struct request *rq, void *data)/** * scsi_host_busy - Return the host busy counter -* @shost: Pointer to Scsi_Host to inc. +* @shost: Pointer to Scsi_Host **/ int scsi_host_busy (struct Scsi_Host *shost) {
Signature · 1 line
2.43.5
Quoted 10 lines · John Garry
I guess that the comment on
scsi_host_busy()was copied fromscsi_host_get()(as it is the same), however they do not do the same thing.Signed-off-by John Garry <[email protected]>drivers/scsi/hosts.c +0
-0
drivers/scsi/hosts.c static bool scsi_host_check_in_flight(struct request *rq, void *data) · line 611
Quoted 8 lines
drivers/scsi/hosts.c +1
-1@@ -605,7 +605,7 @@ static bool scsi_host_check_in_flight(struct request *rq, void *data)/** * scsi_host_busy - Return the host busy counter -* @shost: Pointer to Scsi_Host to inc. +* @shost: Pointer to Scsi_Host **/ int scsi_host_busy (struct Scsi_Host *shost) {
Shouldn't "host busy counter" text be modified too, since the host busy counter has been removed? A possible replacement text could be "number of commands in flight".
Thanks,
Bart.