Re: [PATCH v2] scsi: scsi_transport_sas: Fix the maximum channel scanning issue
From: Martin K. Petersen
Date: Thu Mar 19 2026 - 22:37:05 EST
On Tue, 17 Mar 2026 14:31:47 +0800, Yihang Li wrote:
> After the commit 37c4e72b0651 ("scsi: Fix sas_user_scan() to handle
> wildcard and multi-channel scans"), if the device supports multiple
> channels (0 to shost->max_channel), user_scan() invokes updated
> sas_user_scan() to perform the scan behavior for a specific transfer.
> However, when the user specifies shost->max_channel, it will return
> -EINVAL, which is not expected.
>
> [...]
Applied to 7.0/scsi-fixes, thanks!
[1/1] scsi: scsi_transport_sas: Fix the maximum channel scanning issue
https://git.kernel.org/mkp/scsi/c/d71afa9deb4d
--
Martin K. Petersen