[PATCH openEuler-5.10 305/427] RDMA/hfi1: Prevent use of lock before it is initialized