Print this page
*** 126,140 ****
(sizeof (MR_LD_SPAN_MAP) * pFwRaidMap->ldCount))) {
con_log(CL_ANN1, (CE_NOTE,\
"map info structure size 0x%x\
is not matching with ld count\n",\
! ((sizeof (MR_FW_RAID_MAP) - sizeof (MR_LD_SPAN_MAP)) +\
(sizeof (MR_LD_SPAN_MAP) * pFwRaidMap->ldCount))));
con_log(CL_ANN1, (CE_NOTE, "span map 0x%x total size 0x%x\n",\
! sizeof (MR_LD_SPAN_MAP), pFwRaidMap->totalSize));
return (0);
}
mr_update_load_balance_params(map, lbInfo);
--- 126,140 ----
(sizeof (MR_LD_SPAN_MAP) * pFwRaidMap->ldCount))) {
con_log(CL_ANN1, (CE_NOTE,\
"map info structure size 0x%x\
is not matching with ld count\n",\
! (int)((sizeof (MR_FW_RAID_MAP) - sizeof (MR_LD_SPAN_MAP)) +\
(sizeof (MR_LD_SPAN_MAP) * pFwRaidMap->ldCount))));
con_log(CL_ANN1, (CE_NOTE, "span map 0x%x total size 0x%x\n",\
! (int)sizeof (MR_LD_SPAN_MAP), pFwRaidMap->totalSize));
return (0);
}
mr_update_load_balance_params(map, lbInfo);