Patch 1 ensures all callers take on-chip memory lock when flashing PHY firmware to fix lock context imbalance warnings.
Patch 2 moves all static arrays in header file to respective C file in device dump collection path. Thanks, Rahul Rahul Lakkireddy (2): cxgb4: always sync access when flashing PHY firmware cxgb4: move device dump arrays in header to C file .../net/ethernet/chelsio/cxgb4/cudbg_entity.h | 161 ------- .../net/ethernet/chelsio/cxgb4/cudbg_lib.c | 406 ++++++++++++++++++ .../net/ethernet/chelsio/cxgb4/cudbg_lib.h | 2 + drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 +- .../net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c | 248 +---------- .../ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 5 +- .../net/ethernet/chelsio/cxgb4/cxgb4_main.c | 5 +- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 14 +- 8 files changed, 420 insertions(+), 424 deletions(-) -- 2.24.0