[PATCH 2/2] RDMA/hns: fix bug of accessing null pointer