diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index 65c377dc0279..2da49cdf0208 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas/mpt2sas_base.c | |||
@@ -1407,7 +1407,7 @@ _base_enable_msix(struct MPT2SAS_ADAPTER *ioc) | |||
1407 | if (_base_check_enable_msix(ioc) != 0) | 1407 | if (_base_check_enable_msix(ioc) != 0) |
1408 | goto try_ioapic; | 1408 | goto try_ioapic; |
1409 | 1409 | ||
1410 | ioc->reply_queue_count = min_t(u8, ioc->cpu_count, | 1410 | ioc->reply_queue_count = min_t(int, ioc->cpu_count, |
1411 | ioc->msix_vector_count); | 1411 | ioc->msix_vector_count); |
1412 | 1412 | ||
1413 | entries = kcalloc(ioc->reply_queue_count, sizeof(struct msix_entry), | 1413 | entries = kcalloc(ioc->reply_queue_count, sizeof(struct msix_entry), |