MAX_MCATYPE_NAME_LEN
snprintf(buf_mcatype, MAX_MCATYPE_NAME_LEN, "th_block_%u", b->block);
snprintf(buf_mcatype, MAX_MCATYPE_NAME_LEN, "th_bank_%u", bank);
snprintf(buf_mcatype, MAX_MCATYPE_NAME_LEN,
static char buf_mcatype[MAX_MCATYPE_NAME_LEN];