[PATCH for-next 2/4] IB/hfi1: Invalid user input can result in crash