diff options
author | Manish chopra <manish.chopra@qlogic.com> | 2013-01-30 13:47:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-31 02:34:49 +0100 |
commit | 1403f43a8fc8b1e1880b08a4c8a4ddac985171eb (patch) | |
tree | 53377dd0fc01f66828fa4fbba9580a7f5658e97d /drivers | |
parent | qlcnic: Fix sparse check endian warnings (diff) | |
download | linux-1403f43a8fc8b1e1880b08a4c8a4ddac985171eb.tar.xz linux-1403f43a8fc8b1e1880b08a4c8a4ddac985171eb.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index 46162f8a2fcf..1e81e94b3c6b 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c @@ -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; } |