[PATCH OLK-6.6] RDMA/hns: Fix the compatibility between the kernel mode and user mode