Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328797
b: refs/heads/master
c: d46bdeb
h: refs/heads/master
i:
  328795: 42e38c2
v: v3
  • Loading branch information
Manish Rangankar authored and James Bottomley committed Sep 14, 2012
1 parent 32f6e74 commit 52912b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: 95ab000388974d8ffef8257306b4be6e8778b768
refs/heads/master: d46bdeb14447f0b7e4420c7b1525c8ad9f64ed1b
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/qla4xxx/ql4_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ struct ql4_task_data {

struct qla_endpoint {
struct Scsi_Host *host;
struct sockaddr dst_addr;
struct sockaddr_storage dst_addr;
};

struct qla_conn {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/qla4xxx/ql4_mbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ int qla4xxx_set_param_ddbentry(struct scsi_qla_host *ha,
conn = cls_conn->dd_data;
qla_conn = conn->dd_data;
sess = conn->session;
dst_addr = &qla_conn->qla_ep->dst_addr;
dst_addr = (struct sockaddr *)&qla_conn->qla_ep->dst_addr;

if (dst_addr->sa_family == AF_INET6)
options |= IPV6_DEFAULT_DDB_ENTRY;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ static int qla4xxx_conn_get_param(struct iscsi_cls_conn *cls_conn,

conn = cls_conn->dd_data;
qla_conn = conn->dd_data;
dst_addr = &qla_conn->qla_ep->dst_addr;
dst_addr = (struct sockaddr *)&qla_conn->qla_ep->dst_addr;

switch (param) {
case ISCSI_PARAM_CONN_PORT:
Expand Down

0 comments on commit 52912b4

Please sign in to comment.