Skip to content

Commit

Permalink
qlcnic: Fix bug in reading HW reset template
Browse files Browse the repository at this point in the history
Signed-off-by: Manish chopra <manish.chopra@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Manish chopra authored and David S. Miller committed Jan 31, 2013
1 parent 069048f commit 1403f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2374,7 +2374,7 @@ int qlcnic_83xx_flash_read32(struct qlcnic_adapter *adapter, u32 flash_addr,
if (ret == -EIO)
return -EIO;
word = ret;
*p_data = word;
*(u32 *)p_data = word;
p_data = p_data + 4;
addr = addr + 4;
}
Expand Down

0 comments on commit 1403f43

Please sign in to comment.