diff options
author | 2015-04-29 17:19:05 +0530 | |
---|---|---|
committer | 2015-04-29 15:50:16 -0400 | |
commit | 7f0b8a56c978b0a3315ac84c6cbb065413afb8e9 (patch) | |
tree | 88f60a2862342a38b661745ecb9ee5c6bac467d8 /net | |
parent | bnx2x: Delay during kdump load (diff) | |
download | linux-7f0b8a56c978b0a3315ac84c6cbb065413afb8e9.tar.gz linux-7f0b8a56c978b0a3315ac84c6cbb065413afb8e9.tar.bz2 linux-7f0b8a56c978b0a3315ac84c6cbb065413afb8e9.zip |
cxgb4: Fix MC1 memory offset calculation
Commit 6559a7e8296002b4 ("cxgb4: Cleanup macros so they follow the same
style and look consistent") introduced a regression where reading MC1
memory in adapters where MC0 isn't present or MC0 size is not equal to MC1
size caused the adapter to crash due to incorrect computation of memoffset.
Fix is to read the size of MC0 instead of MC1 for offset calculation
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions