/* pmcraid_get_error_info - return error string for an ioasc @ioasc: ioasc code Return Value none  */
static struct pmcraid_ioasc_error* pmcraid_get_error_info(u32 ioasc)
/* pmcraid_get_error_info - return error string for an ioasc @ioasc: ioasc code Return Value none  */
static struct pmcraid_ioasc_error* pmcraid_get_error_info(u32 ioasc)
{
	int i;
	for (i = 0; i < ARRAY_SIZE(pmcraid_ioasc_error_table); i++) {
		if (pmcraid_ioasc_error_table[i].ioasc_code == ioasc)
			return &pmcraid_ioasc_error_table[i];
	}
	return NULL;
}