提交 1403f43a 编写于 作者: M Manish chopra 提交者: David S. Miller

qlcnic: Fix bug in reading HW reset template

Signed-off-by: NManish chopra <manish.chopra@qlogic.com>
Signed-off-by: NJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册