On Wed, Oct 13, 2021 at 1:53 PM Greg KH gregkh@linuxfoundation.org wrote:
On Wed, Oct 13, 2021 at 01:46:56PM +0530, Sreekanth Reddy wrote:
When the user scans the devices through 'scan' sysfs using below command then the user will observe duplicate device entries in lsscsi command output. echo "- - -" > /sys/class/scsi_host/host0/scan
Fix is to set the shost's max_channel to zero.
Cc: stable@vger.kernel.org #v5.14.11+
Please tag this based on a release of Linus's, or better yet, provide a "Fixes:" commit so that the stable people know exactly where to backport it to.
Thanks, Shall I resend the patch with proper "Fixes:" commit ID.
As this is, we do not take patches only for stable kernels...
This fix applies for the mainline kernel as well.
Thanks, Sreekanth
thanks,
greg k-h