Commit 1403f43a authored by Manish chopra's avatar Manish chopra Committed by David S. Miller
Browse files

qlcnic: Fix bug in reading HW reset template


Signed-off-by: default avatarManish chopra <manish.chopra@qlogic.com>
Signed-off-by: default avatarJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 069048f1
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment