diff options
author | Vishal Kulkarni <vishal@chelsio.com> | 2020-04-22 17:50:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-23 21:41:09 +0200 |
commit | ce222748078592afb51b810dc154531aeba4f512 (patch) | |
tree | 99a05d98ae9e6578eac7207c4249be513894ee8c /drivers/net/plip | |
parent | Merge branch 'vxlan-geneve-use-the-correct-nlattr-array-for-extack' (diff) | |
download | linux-ce222748078592afb51b810dc154531aeba4f512.tar.xz linux-ce222748078592afb51b810dc154531aeba4f512.zip |
cxgb4: fix adapter crash due to wrong MC size
In the absence of MC1, the size calculation function
cudbg_mem_region_size() was returing wrong MC size and
resulted in adapter crash. This patch adds new argument
to cudbg_mem_region_size() which will have actual size
and returns error to caller in the absence of MC1.
Fixes: a1c69520f785 ("cxgb4: collect MC memory dump")
Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>"
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/plip')
0 files changed, 0 insertions, 0 deletions