RDMA/hns: Unify format of prints
authorLijun Ou <oulijun@huawei.com>
Fri, 20 Mar 2020 03:23:33 +0000 (11:23 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Mar 2020 19:52:26 +0000 (16:52 -0300)
commitae1c61489c7fa02f32cc45464dfb5612fa812b32
treee800e443150bb686b14c285e382c75c29249972e
parent26e28deb813eed908cf31a6052870b6493ec0e86
RDMA/hns: Unify format of prints

Use ibdev_err/dbg/warn() instead of dev_err/dbg/warn(), and modify some
prints into format of "failed to do something, ret = n".

Link: https://lore.kernel.org/r/1584674622-52773-2-git-send-email-liweihang@huawei.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_pd.c