Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310851
b: refs/heads/master
c: d4f75b5
h: refs/heads/master
i:
  310849: 7c43526
  310847: 46ef8f3
v: v3
  • Loading branch information
Roland Dreier authored and Nicholas Bellinger committed Jun 13, 2012
1 parent e1caf4f commit c194c88
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: 9389c3c943da7e5f903eebf79d596601537afe01
refs/heads/master: d4f75b567bb63b51e5ecd42af1e82d5aed5100dd
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/qla2xxx/tcm_qla2xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,15 @@ static char *tcm_qla2xxx_get_fabric_name(void)
*/
static int tcm_qla2xxx_npiv_extract_wwn(const char *ns, u64 *nm)
{
unsigned int i, j, value;
unsigned int i, j;
u8 wwn[8];

memset(wwn, 0, sizeof(wwn));

/* Validate and store the new name */
for (i = 0, j = 0; i < 16; i++) {
int value;

value = hex_to_bin(*ns++);
if (value >= 0)
j = (j << 4) | value;
Expand Down

0 comments on commit c194c88

Please sign in to comment.