Skip to content

Commit

Permalink
verbs: Add missing string decode for IBV_EVENT_WQ_FATAL
Browse files Browse the repository at this point in the history
The enum value was added without adding an entry to event_type_str[].

Fixes: d0ac81c ("Track asynchronous events on a work queue")
Signed-off-by: Roland Dreier <roland@purestorage.com>
  • Loading branch information
rolandd committed Sep 1, 2017
1 parent d3ca56f commit cf266d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libibverbs/enum_strs.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ const char *ibv_event_type_str(enum ibv_event_type event)
[IBV_EVENT_SRQ_LIMIT_REACHED] = "SRQ limit reached",
[IBV_EVENT_QP_LAST_WQE_REACHED] = "last WQE reached",
[IBV_EVENT_CLIENT_REREGISTER] = "client reregistration",
[IBV_EVENT_GID_CHANGE] = "GID table change"
[IBV_EVENT_GID_CHANGE] = "GID table change",
[IBV_EVENT_WQ_FATAL] = "WQ fatal"
};

if (event < IBV_EVENT_CQ_ERR || event > IBV_EVENT_GID_CHANGE)
Expand Down

0 comments on commit cf266d7

Please sign in to comment.