Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

John Garry and committed by
Martin K. Petersen
dcc98c11 a7480fda

+2 -2
+2 -2
drivers/scsi/hosts.c
··· 604 604 } 605 605 606 606 /** 607 - * scsi_host_busy - Return the host busy counter 608 - * @shost: Pointer to Scsi_Host to inc. 607 + * scsi_host_busy - Return the count of in-flight commands 608 + * @shost: Pointer to Scsi_Host 609 609 **/ 610 610 int scsi_host_busy(struct Scsi_Host *shost) 611 611 {