MAX_NR_TRIP
if (tpid >= MAX_NR_TRIP)
if (tp_id < 0 || tp_id >= MAX_NR_TRIP) {
if (trip_instance > MAX_NR_TRIP)
struct trip_point tp[MAX_NR_TRIP];