Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53664
b: refs/heads/master
c: 1196ae0
h: refs/heads/master
v: v3
  • Loading branch information
Richard Lary authored and James Bottomley committed Apr 1, 2007
1 parent 0d19217 commit 14071e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 07da60c1f45a6a5f563429e88e8c94c82f9132eb
refs/heads/master: 1196ae025ba4a36eb9e6baab57ba903d36139ff2
16 changes: 8 additions & 8 deletions trunk/drivers/scsi/qla2xxx/qla_mbx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1280,14 +1280,14 @@ qla2x00_get_port_name(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t *name,
} else {
if (name != NULL) {
/* This function returns name in big endian. */
name[0] = LSB(mcp->mb[2]);
name[1] = MSB(mcp->mb[2]);
name[2] = LSB(mcp->mb[3]);
name[3] = MSB(mcp->mb[3]);
name[4] = LSB(mcp->mb[6]);
name[5] = MSB(mcp->mb[6]);
name[6] = LSB(mcp->mb[7]);
name[7] = MSB(mcp->mb[7]);
name[0] = MSB(mcp->mb[2]);
name[1] = LSB(mcp->mb[2]);
name[2] = MSB(mcp->mb[3]);
name[3] = LSB(mcp->mb[3]);
name[4] = MSB(mcp->mb[6]);
name[5] = LSB(mcp->mb[6]);
name[6] = MSB(mcp->mb[7]);
name[7] = LSB(mcp->mb[7]);
}

DEBUG11(printk("qla2x00_get_port_name(%ld): done.\n",
Expand Down

0 comments on commit 14071e5

Please sign in to comment.