qlcnic: Fix bug in reading HW reset template
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>
This commit is contained in:
committed by
David S. Miller
parent
069048f18b
commit
1403f43a8f
@@ -2374,7 +2374,7 @@ int qlcnic_83xx_flash_read32(struct qlcnic_adapter *adapter, u32 flash_addr,
|
|||||||
if (ret == -EIO)
|
if (ret == -EIO)
|
||||||
return -EIO;
|
return -EIO;
|
||||||
word = ret;
|
word = ret;
|
||||||
*p_data = word;
|
*(u32 *)p_data = word;
|
||||||
p_data = p_data + 4;
|
p_data = p_data + 4;
|
||||||
addr = addr + 4;
|
addr = addr + 4;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user