diff options
| author | John Garry <john.g.garry@oracle.com> | 2025-10-23 08:27:59 +0000 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-10-23 22:56:18 -0400 |
| commit | dcc98c11364e19df1b4b49d75a04149f99c1b348 (patch) | |
| tree | b9d140c7b3c81841401c09be1c554632c899c0f2 | |
| parent | a7480fda0f0fdd0d094d750359a67c7df2d6fa7f (diff) | |
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.
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251023082759.3927000-1-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
| -rw-r--r-- | drivers/scsi/hosts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index cc5d05dc395c..eb224a338fa2 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -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) { |