Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213325
b: refs/heads/master
c: 35e0cbd
h: refs/heads/master
i:
  213323: 5c0d238
v: v3
  • Loading branch information
Giridhar Malavali authored and James Bottomley committed Sep 5, 2010
1 parent ce9fdd4 commit 36f1189
Show file tree
Hide file tree
Showing 2 changed files with 6 additions 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: a5b36321918b3a1295748b77c62976c167233eec
refs/heads/master: 35e0cbd4b282e541d05ca21694beb26c087bb49e
10 changes: 5 additions & 5 deletions trunk/drivers/scsi/qla2xxx/qla_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1685,14 +1685,14 @@ static void
qla2x00_get_host_fabric_name(struct Scsi_Host *shost)
{
scsi_qla_host_t *vha = shost_priv(shost);
u64 node_name;
uint8_t node_name[WWN_SIZE] = { 0xFF, 0xFF, 0xFF, 0xFF, \
0xFF, 0xFF, 0xFF, 0xFF};
u64 fabric_name = wwn_to_u64(node_name);

if (vha->device_flags & SWITCH_FOUND)
node_name = wwn_to_u64(vha->fabric_node_name);
else
node_name = wwn_to_u64(vha->node_name);
fabric_name = wwn_to_u64(vha->fabric_node_name);

fc_host_fabric_name(shost) = node_name;
fc_host_fabric_name(shost) = fabric_name;
}

static void
Expand Down

0 comments on commit 36f1189

Please sign in to comment.