diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 20:41:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 20:41:21 -0400 |
commit | 03ce3ca4b02bfc1e6567a7851ae231ad3cc9418e (patch) | |
tree | bf953469c6cac6b0a5b7d3671a27473eace144e3 /drivers/scsi/libfc/fc_exch.c | |
parent | f8acc450e10dbe7996220bac5459ee9c14a82a6a (diff) | |
parent | 622f9a8e7b8043a5ea2c7d047d65ecad01fe0f97 (diff) |
Merge tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull final round of SCSI updates from James Bottomley:
"This is the remaining set of SCSI patches for the merge window. It's
mostly driver updates (scsi_debug, qla2xxx, storvsc, mp3sas). There
are also several bug fixes in fcoe, libfc, and megaraid_sas. We also
have a couple of core changes to try to make device destruction more
deterministic"
* tag 'scsi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (46 commits)
[SCSI] scsi constants: command, sense key + additional sense strings
fcoe: Reduce number of sparse warnings
fcoe: Stop fc_rport_priv structure leak
libfcoe: Fix meaningless log statement
libfc: Differentiate echange timer cancellation debug statements
libfc: Remove extra space in fc_exch_timer_cancel definition
fcoe: fix the link error status block sparse warnings
fcoe: Fix smatch warning in fcoe_fdmi_info function
libfc: Reject PLOGI from nodes with incompatible role
[SCSI] enable destruction of blocked devices which fail LUN scanning
[SCSI] Fix race between starved list and device removal
[SCSI] megaraid_sas: fix a bug for 64 bit arches
[SCSI] scsi_debug: reduce duplication between prot_verify_read and prot_verify_write
[SCSI] scsi_debug: simplify offset calculation for dif_storep
[SCSI] scsi_debug: invalidate protection info for unmapped region
[SCSI] scsi_debug: fix NULL pointer dereference with parameters dif=0 dix=1
[SCSI] scsi_debug: fix incorrectly nested kmap_atomic()
[SCSI] scsi_debug: fix invalid address passed to kunmap_atomic()
[SCSI] mpt3sas: Bump driver version to v02.100.00.00
[SCSI] mpt3sas: when async scanning is enabled then while scanning, devices are removed but their transport layer entries are not removed
...
Diffstat (limited to 'drivers/scsi/libfc/fc_exch.c')
-rw-r--r-- | drivers/scsi/libfc/fc_exch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index 8b928c67e4b9..587992952b3c 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c | |||
@@ -337,7 +337,7 @@ static void fc_exch_release(struct fc_exch *ep) | |||
337 | * fc_exch_timer_cancel() - cancel exch timer | 337 | * fc_exch_timer_cancel() - cancel exch timer |
338 | * @ep: The exchange whose timer to be canceled | 338 | * @ep: The exchange whose timer to be canceled |
339 | */ | 339 | */ |
340 | static inline void fc_exch_timer_cancel(struct fc_exch *ep) | 340 | static inline void fc_exch_timer_cancel(struct fc_exch *ep) |
341 | { | 341 | { |
342 | if (cancel_delayed_work(&ep->timeout_work)) { | 342 | if (cancel_delayed_work(&ep->timeout_work)) { |
343 | FC_EXCH_DBG(ep, "Exchange timer canceled\n"); | 343 | FC_EXCH_DBG(ep, "Exchange timer canceled\n"); |
@@ -1567,7 +1567,7 @@ static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) | |||
1567 | fc_exch_rctl_name(fh->fh_r_ctl)); | 1567 | fc_exch_rctl_name(fh->fh_r_ctl)); |
1568 | 1568 | ||
1569 | if (cancel_delayed_work_sync(&ep->timeout_work)) { | 1569 | if (cancel_delayed_work_sync(&ep->timeout_work)) { |
1570 | FC_EXCH_DBG(ep, "Exchange timer canceled\n"); | 1570 | FC_EXCH_DBG(ep, "Exchange timer canceled due to ABTS response\n"); |
1571 | fc_exch_release(ep); /* release from pending timer hold */ | 1571 | fc_exch_release(ep); /* release from pending timer hold */ |
1572 | } | 1572 | } |
1573 | 1573 | ||