scsi: core: Minor comment fixes for scsi_host_busy()
PATCH v2 1/1 scsi: core: Minor comment fixes for scsi_host_busy()
I guess that the @shost comment on scsi_host_busy() was copied from scsi_host_get() (as it is the same), however they do not do the same thing.
Also drop reference to busy counter, which has been removed.
---
Difference to v1:
- Update comment on scsi_host_busy (Bart)
drivers/scsi/hosts.c +2 -2
@@ -604,8 +604,8 @@ 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. +* scsi_host_busy - Return the count of in-flight commands +* @shost: Pointer to Scsi_Host **/ int scsi_host_busy (struct Scsi_Host *shost) {
Signature · 1 line
2.43.5
Quoted 5 lines · John Garry
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 10 lines
drivers/scsi/hosts.c +2
-2@@ -604,8 +604,8 @@ 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. +* scsi_host_busy - Return the count of in-flight commands +* @shost: Pointer to Scsi_Host **/ int scsi_host_busy (struct Scsi_Host *shost) {
Martin K. Petersen
AppliedJohn,
Quoted 5 lines
I guess that the @shost comment on
scsi_host_busy()was copied fromscsi_host_get()(as it is the same), however they do not do the same thing.Also drop reference to busy counter, which has been removed.
Applied to 6.19/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen
Martin K. Petersen
AppliedQuoted 6 lines · John Garry
I guess that the @shost comment on
scsi_host_busy()was copied fromscsi_host_get()(as it is the same), however they do not do the same thing.Also drop reference to busy counter, which has been removed.
Applied to 6.19/scsi-queue, thanks!
[1/1] scsi: core: Minor comment fixes for scsi_host_busy()
https://git.kernel.org/mkp/scsi/c/dcc98c11364e
Signature · 1 line
Martin K. Petersen