linux/drivers/scsi/mvsas
Dan Carpenter 78b7b80cf0 mvsas: don't allow negative timeouts
There is a static checker warning here because "val" is controlled by
the user and we have a upper bound on it but allow negative numbers.
"val" appears to be a timeout in usec so this bug probably means we
have a longer timeout than we should.  Let's fix this by changing "val"
to unsigned.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2015-11-13 15:44:40 -05:00
..
Kconfig [SCSI] mvsas: Add support for interrupt tasklet 2011-07-26 12:59:55 +04:00
Makefile [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_64xx.c Drivers: scsi: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mv_64xx.h [SCSI] mvsas: add support for Task collector mode and fixed relative bugs 2011-05-01 12:08:03 -05:00
mv_94xx.c drivers: scsi: mvsas: fix compiling issue by adding 'MVS_' for "enum pci_interrupt_cause" 2014-06-20 08:22:39 +08:00
mv_94xx.h drivers: scsi: mvsas: fix compiling issue by adding 'MVS_' for "enum pci_interrupt_cause" 2014-06-20 08:22:39 +08:00
mv_chips.h Drivers: scsi: remove __dev* attributes. 2013-01-03 15:57:01 -08:00
mv_defs.h [SCSI] mvsas: fixed SMP request watchdog timeout issue. 2011-10-02 13:18:01 -05:00
mv_init.c mvsas: don't allow negative timeouts 2015-11-13 15:44:40 -05:00
mv_sas.c mvsas: fix panic on expander attached SATA devices 2015-04-17 10:19:07 -07:00
mv_sas.h libsas: remove task_collector mode 2014-11-27 16:40:24 +01:00