Vishal Kulkarni ce22274807 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>
2020-04-23 12:41:09 -07:00
..
2020-02-24 11:24:47 -08:00
2020-02-24 11:24:47 -08:00
2020-03-03 17:54:54 -08:00
2020-04-12 21:20:27 -07:00
2020-04-14 16:30:14 -07:00
2020-03-03 17:54:55 -08:00