RDMA/hns: Hide error print information with roce vf device
authorLijun Ou <oulijun@huawei.com>
Sat, 23 Feb 2019 12:01:25 +0000 (20:01 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Mar 2019 23:59:55 +0000 (20:59 -0300)
commit07c2339a91c1ec3a8b8ada00361eced7b153ec0c
tree83d5c8cdb464f32c4591602f9c33eb50fe7f0df0
parent5b01b243b0b3725b4460e8924e1f105bb4038969
RDMA/hns: Hide error print information with roce vf device

The driver should not print the error information when the hip08 driver
not support virtual function.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c