diff options
author | Sreekanth Reddy <sreekanth.reddy@broadcom.com> | 2021-10-14 08:54:25 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-17 05:16:37 +0300 |
commit | 97e6ea6d78064e7f1e9e19c45dc690aabbb71297 (patch) | |
tree | 32a0d7190749f77a56a1b474b6999bf5b19cbe5b /net/unix/unix_bpf.c | |
parent | f2b85040acec9a928b4eb1b57a989324e8e38d3f (diff) | |
download | linux-97e6ea6d78064e7f1e9e19c45dc690aabbb71297.tar.xz |
scsi: mpi3mr: Fix duplicate device entries when scanning through sysfs
When scanning devices through the 'scan' attribute in sysfs, the user will
observe duplicate device entries in lsscsi command output.
Set the shost's max_channel to zero to avoid this.
Link: https://lore.kernel.org/r/20211014055425.30719-1-sreekanth.reddy@broadcom.com
Fixes: 824a156633df ("scsi: mpi3mr: Base driver code")
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions