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