[Linux-stable-mirror] [PATCH 4.14 146/159] RDMA/hns: Avoid NULL pointer exception