diff options
| author | John Garry <john.g.garry@oracle.com> | 2025-10-23 11:54:51 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-10-24 05:58:53 +0300 |
| commit | bb798c1f43c0010d792b93dc9cbb9cef7a052f61 (patch) | |
| tree | da3e3abdd41155bf287dd988176122ef142e7559 /scripts | |
| parent | dcc98c11364e19df1b4b49d75a04149f99c1b348 (diff) | |
| download | linux-bb798c1f43c0010d792b93dc9cbb9cef7a052f61.tar.xz | |
scsi: advansys: Don't call asc_prt_scsi_host() -> scsi_host_busy()
The driver calls asc_prt_scsi_host() -> scsi_host_busy() prior to
calling scsi_add_host(). This should not be done, and has raised issues
for other drivers, like [0].
Function asc_prt_scsi_host() only has a single callsite, as above, where
the shost busy count would always be 0.
Avoid printing the shost busy count to avoid this problem.
[0] https://lore.kernel.org/linux-scsi/20251014200118.3390839-3-bvanassche@acm.org/
Reported-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251023085451.3933666-1-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
