RAS_EVENT_TYPE_COUNT
if (type >= RAS_EVENT_TYPE_COUNT) {
if (type >= RAS_EVENT_TYPE_COUNT)
struct ras_event_state event_state[RAS_EVENT_TYPE_COUNT];