diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-09 21:54:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-09 21:54:06 -0400 |
commit | 1c54fc1efe6922b4e7ffd591739d72050976ccd6 (patch) | |
tree | 0f7f0eaa91fa06bba11da240915eb6a4040b482a /drivers/scsi/mpt2sas/mpt2sas_base.c | |
parent | f4f9b8fc73f9aa93744f0e91e18f367d7766f523 (diff) | |
parent | b4c43993f448d0e25fe40690d9e9c81a8ebda623 (diff) |
Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI updates from James Bottomley:
"This patch consists of the usual driver updates (qla2xxx, qla4xxx,
lpfc, be2iscsi, fnic, ufs, NCR5380) The NCR5380 is the addition to
maintained status of a long neglected driver for older hardware. In
addition there are a lot of minor fixes and cleanups and some more
updates to make scsi mq ready"
* tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (130 commits)
include/scsi/osd_protocol.h: remove unnecessary __constant
mvsas: Recognise device/subsystem 9485/9485 as 88SE9485
Revert "be2iscsi: Fix processing cqe for cxn whose endpoint is freed"
mptfusion: fix msgContext in mptctl_hp_hostinfo
acornscsi: remove linked command support
scsi/NCR5380: dprintk macro
fusion: Remove use of DEF_SCSI_QCMD
fusion: Add free msg frames to the head, not tail of list
mpt2sas: Add free smids to the head, not tail of list
mpt2sas: Remove use of DEF_SCSI_QCMD
mpt2sas: Remove uses of serial_number
mpt3sas: Remove use of DEF_SCSI_QCMD
mpt3sas: Remove uses of serial_number
qla2xxx: Use kmemdup instead of kmalloc + memcpy
qla4xxx: Use kmemdup instead of kmalloc + memcpy
qla2xxx: fix incorrect debug printk
be2iscsi: Bump the driver version
be2iscsi: Fix processing cqe for cxn whose endpoint is freed
be2iscsi: Fix destroy MCC-CQ before MCC-EQ is destroyed
be2iscsi: Fix memory corruption in MBX path
...
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.c')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c index bde63f7452bd..8b88118e20e6 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.c +++ b/drivers/scsi/mpt2sas/mpt2sas_base.c | |||
@@ -1739,14 +1739,14 @@ mpt2sas_base_free_smid(struct MPT2SAS_ADAPTER *ioc, u16 smid) | |||
1739 | list_for_each_entry_safe(chain_req, next, | 1739 | list_for_each_entry_safe(chain_req, next, |
1740 | &ioc->scsi_lookup[i].chain_list, tracker_list) { | 1740 | &ioc->scsi_lookup[i].chain_list, tracker_list) { |
1741 | list_del_init(&chain_req->tracker_list); | 1741 | list_del_init(&chain_req->tracker_list); |
1742 | list_add_tail(&chain_req->tracker_list, | 1742 | list_add(&chain_req->tracker_list, |
1743 | &ioc->free_chain_list); | 1743 | &ioc->free_chain_list); |
1744 | } | 1744 | } |
1745 | } | 1745 | } |
1746 | ioc->scsi_lookup[i].cb_idx = 0xFF; | 1746 | ioc->scsi_lookup[i].cb_idx = 0xFF; |
1747 | ioc->scsi_lookup[i].scmd = NULL; | 1747 | ioc->scsi_lookup[i].scmd = NULL; |
1748 | ioc->scsi_lookup[i].direct_io = 0; | 1748 | ioc->scsi_lookup[i].direct_io = 0; |
1749 | list_add_tail(&ioc->scsi_lookup[i].tracker_list, | 1749 | list_add(&ioc->scsi_lookup[i].tracker_list, |
1750 | &ioc->free_list); | 1750 | &ioc->free_list); |
1751 | spin_unlock_irqrestore(&ioc->scsi_lookup_lock, flags); | 1751 | spin_unlock_irqrestore(&ioc->scsi_lookup_lock, flags); |
1752 | 1752 | ||
@@ -1764,13 +1764,13 @@ mpt2sas_base_free_smid(struct MPT2SAS_ADAPTER *ioc, u16 smid) | |||
1764 | /* hi-priority */ | 1764 | /* hi-priority */ |
1765 | i = smid - ioc->hi_priority_smid; | 1765 | i = smid - ioc->hi_priority_smid; |
1766 | ioc->hpr_lookup[i].cb_idx = 0xFF; | 1766 | ioc->hpr_lookup[i].cb_idx = 0xFF; |
1767 | list_add_tail(&ioc->hpr_lookup[i].tracker_list, | 1767 | list_add(&ioc->hpr_lookup[i].tracker_list, |
1768 | &ioc->hpr_free_list); | 1768 | &ioc->hpr_free_list); |
1769 | } else if (smid <= ioc->hba_queue_depth) { | 1769 | } else if (smid <= ioc->hba_queue_depth) { |
1770 | /* internal queue */ | 1770 | /* internal queue */ |
1771 | i = smid - ioc->internal_smid; | 1771 | i = smid - ioc->internal_smid; |
1772 | ioc->internal_lookup[i].cb_idx = 0xFF; | 1772 | ioc->internal_lookup[i].cb_idx = 0xFF; |
1773 | list_add_tail(&ioc->internal_lookup[i].tracker_list, | 1773 | list_add(&ioc->internal_lookup[i].tracker_list, |
1774 | &ioc->internal_free_list); | 1774 | &ioc->internal_free_list); |
1775 | } | 1775 | } |
1776 | spin_unlock_irqrestore(&ioc->scsi_lookup_lock, flags); | 1776 | spin_unlock_irqrestore(&ioc->scsi_lookup_lock, flags); |