OSDN Git Service

RDMA/core: Use dev_err/dbg/etc instead of pr_* + ibdev->name
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 20 Sep 2018 22:42:23 +0000 (16:42 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 26 Sep 2018 19:51:48 +0000 (13:51 -0600)
commit43c7c851b9bce9e6091f2c882871a3b388aa38c3
tree5b9196b160b6373dfef148506a153130786f88e8
parente349f858d29f300ad9ad327fd57735a1d15e147f
RDMA/core: Use dev_err/dbg/etc instead of pr_* + ibdev->name

Any messages related to a device should be printed with the dev_*
formatters. This provides greater consistency for the user.

The core does not set pr_fmt so this has no significant change.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
drivers/infiniband/core/cache.c
drivers/infiniband/core/cma.c
drivers/infiniband/core/device.c
drivers/infiniband/core/fmr_pool.c
drivers/infiniband/core/restrack.c
drivers/infiniband/core/verbs.c