diff options
author | 2019-11-15 17:37:27 +0100 | |
---|---|---|
committer | 2019-11-19 21:37:34 -0500 | |
commit | aa5334c4f3014940f11bf876e919c956abef4089 (patch) | |
tree | a14d01f52422a149be4191c004fc481c7cfe931b /drivers/scsi/NCR5380.c | |
parent | scsi: lpfc: use hdwq assigned cpu for allocation (diff) | |
download | linux-aa5334c4f3014940f11bf876e919c956abef4089.tar.gz linux-aa5334c4f3014940f11bf876e919c956abef4089.tar.bz2 linux-aa5334c4f3014940f11bf876e919c956abef4089.zip |
scsi: scsi_debug: num_tgts must be >= 0
Passing the parameter "num_tgts=-1" will start an infinite loop that
exhausts the system memory
Link: https://lore.kernel.org/r/20191115163727.24626-1-mlombard@redhat.com
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/NCR5380.c')
0 files changed, 0 insertions, 0 deletions