Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257834
b: refs/heads/master
c: c682d60
h: refs/heads/master
v: v3
  • Loading branch information
Karen Xie authored and James Bottomley committed Jun 29, 2011
1 parent 556ff0f commit 1e15a2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: b2085a4efc1a00375b77d5cbfe73a549c9d7d65b
refs/heads/master: c682d602d0f9751c92e07c196be27d8fac6ec3ed
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ static int cxgb3i_ddp_init(struct cxgbi_device *cdev)
struct cxgbi_ddp_info *ddp = tdev->ulp_iscsi;
struct ulp_iscsi_info uinfo;
unsigned int pgsz_factor[4];
int err;
int i, err;

if (ddp) {
kref_get(&ddp->refcnt);
Expand All @@ -1271,6 +1271,8 @@ static int cxgb3i_ddp_init(struct cxgbi_device *cdev)

uinfo.tagmask = ddp->idx_mask << PPOD_IDX_SHIFT;
cxgbi_ddp_page_size_factor(pgsz_factor);
for (i = 0; i < 4; i++)
uinfo.pgsz_factor[i] = pgsz_factor[i];
uinfo.ulimit = uinfo.llimit + (ddp->nppods << PPOD_SIZE_SHIFT);

err = tdev->ctl(tdev, ULP_ISCSI_SET_PARAMS, &uinfo);
Expand Down

0 comments on commit 1e15a2b

Please sign in to comment.