MAX_ER_DEBUG_ENTRIES
if (pdev->debug_info.curr_er_debug_idx == MAX_ER_DEBUG_ENTRIES)
lm_er_debug_info_t er_debug_info[MAX_ER_DEBUG_ENTRIES];