Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359482
b: refs/heads/master
c: c7a5e0d
h: refs/heads/master
v: v3
  • Loading branch information
Manish Rangankar authored and James Bottomley committed Jan 30, 2013
1 parent 8c1161a commit 40c338b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 1dc8ed5d3888dbec2d7b6530308f4aca9288f7ec
refs/heads/master: c7a5e0d0ebb01fa5f266ddbf8d3d95affcd0f336
12 changes: 6 additions & 6 deletions trunk/drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -1337,18 +1337,18 @@ static int qla4xxx_session_get_param(struct iscsi_cls_session *cls_sess,
sess->password_in, BIDI_CHAP,
&idx);
if (rval)
return -EINVAL;

len = sprintf(buf, "%hu\n", idx);
len = sprintf(buf, "\n");
else
len = sprintf(buf, "%hu\n", idx);
break;
case ISCSI_PARAM_CHAP_OUT_IDX:
rval = qla4xxx_get_chap_index(ha, sess->username,
sess->password, LOCAL_CHAP,
&idx);
if (rval)
return -EINVAL;

len = sprintf(buf, "%hu\n", idx);
len = sprintf(buf, "\n");
else
len = sprintf(buf, "%hu\n", idx);
break;
default:
return iscsi_session_get_param(cls_sess, param, buf);
Expand Down

0 comments on commit 40c338b

Please sign in to comment.