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
Makefile
mv_64xx.c
mv_64xx.h
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
mv_defs.h
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