Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367393
b: refs/heads/master
c: 162cca5
h: refs/heads/master
i:
  367391: f9b40a7
v: v3
  • Loading branch information
Wei Yongjun authored and James Bottomley committed Apr 10, 2013
1 parent 7242c16 commit 7b7b4b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38a4089a9ef17f3185cb6ec4506f0734b53eabea
refs/heads/master: 162cca5ed9c28d5d0923179c2b5d6be0c4d4d72e
5 changes: 0 additions & 5 deletions trunk/drivers/scsi/csiostor/csio_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -3892,7 +3892,6 @@ csio_process_fwevtq_entry(struct csio_hw *hw, void *wr, uint32_t len,
struct csio_fl_dma_buf *flb, void *priv)
{
__u8 op;
__be64 *data;
void *msg = NULL;
uint32_t msg_len = 0;
bool msg_sg = 0;
Expand All @@ -3908,17 +3907,13 @@ csio_process_fwevtq_entry(struct csio_hw *hw, void *wr, uint32_t len,
msg = (void *) flb;
msg_len = flb->totlen;
msg_sg = 1;

data = (__be64 *) msg;
} else if (op == CPL_FW6_MSG || op == CPL_FW4_MSG) {

CSIO_INC_STATS(hw, n_cpl_fw6_msg);
/* skip RSS header */
msg = (void *)((uintptr_t)wr + sizeof(__be64));
msg_len = (op == CPL_FW6_MSG) ? sizeof(struct cpl_fw6_msg) :
sizeof(struct cpl_fw4_msg);

data = (__be64 *) msg;
} else {
csio_warn(hw, "unexpected CPL %#x on FW event queue\n", op);
CSIO_INC_STATS(hw, n_cpl_unexp);
Expand Down

0 comments on commit 7b7b4b7

Please sign in to comment.