Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204249
b: refs/heads/master
c: ba40280
h: refs/heads/master
i:
  204247: 98e6d00
v: v3
  • Loading branch information
Yi Zou authored and James Bottomley committed Jul 28, 2010
1 parent 7066208 commit b0aa6e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 2cf75f1c8aa4cab3ace57f9159f1dc85cba69d38
refs/heads/master: ba402804ac2447ad41f4919603bf3e6f6db63110
2 changes: 0 additions & 2 deletions trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,8 @@ static int fc_fcp_send_data(struct fc_fcp_pkt *fsp, struct fc_seq *seq,
fsp, seq_blen, lport->lso_max, t_blen);
}

WARN_ON(t_blen < FC_MIN_MAX_PAYLOAD);
if (t_blen > 512)
t_blen &= ~(512 - 1); /* round down to block size */
WARN_ON(t_blen < FC_MIN_MAX_PAYLOAD); /* won't go below 256 */
sc = fsp->cmd;

remaining = seq_blen;
Expand Down

0 comments on commit b0aa6e6

Please sign in to comment.