projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7544e59
)
tcm_fc: missing curly braces in ft_invl_hw_context()
author
Dan Carpenter
<
[email protected]
>
Wed, 25 Feb 2015 13:21:03 +0000
(16:21 +0300)
committer
Nicholas Bellinger
<
[email protected]
>
Fri, 20 Mar 2015 06:26:41 +0000
(23:26 -0700)
This patch adds a missing set of conditional check braces in
ft_invl_hw_context() originally introduced by commit
dcd998ccd
when handling DDP failures in ft_recv_write_data() code.
commit
dcd998ccdbf74a7d8fe0f0a44e85da1ed5975946
Author: Kiran Patil <
[email protected]
>
Date: Wed Aug 3 09:20:01 2011 +0000
tcm_fc: Handle DDP/SW fc_frame_payload_get failures in ft_recv_write_data
Signed-off-by: Dan Carpenter <
[email protected]
>
Cc: Kiran Patil <
[email protected]
>
Cc: <
[email protected]
> # 3.1+
Signed-off-by: Nicholas Bellinger <
[email protected]
>
drivers/target/tcm_fc/tfc_io.c
patch
|
blob
|
history
diff --git
a/drivers/target/tcm_fc/tfc_io.c
b/drivers/target/tcm_fc/tfc_io.c
index 97b486c3dda136a21824d02ea0f70c828b214d46..583e755d809177d59953b991a9c8dd9068649205 100644
(file)
--- a/
drivers/target/tcm_fc/tfc_io.c
+++ b/
drivers/target/tcm_fc/tfc_io.c
@@
-359,7
+359,7
@@
void ft_invl_hw_context(struct ft_cmd *cmd)
ep = fc_seq_exch(seq);
if (ep) {
lport = ep->lp;
- if (lport && (ep->xid <= lport->lro_xid))
+ if (lport && (ep->xid <= lport->lro_xid))
{
/*
* "ddp_done" trigger invalidation of HW
* specific DDP context
@@
-374,6
+374,7
@@
void ft_invl_hw_context(struct ft_cmd *cmd)
* identified using ep->xid)
*/
cmd->was_ddp_setup = 0;
+ }
}
}
}