IB/core: trivial prink cleanup.
authorParav Pandit <pandit.parav@gmail.com>
Tue, 1 Mar 2016 19:20:29 +0000 (00:50 +0530)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 Mar 2016 15:20:25 +0000 (10:20 -0500)
commitaba25a3e96563083389fc7b9f7d35be6bdfe6579
tree59b2d8faf012abc8a8ee3d7fc31e913a958d9345
parentdb9314cd351ebd734970c7afc2995a743e34aa02
IB/core: trivial prink cleanup.

1. Replaced printk with appropriate pr_warn, pr_err, pr_info.
2. Removed unnecessary prints around memory allocation failure
which are not required, as reported by the checkpatch script.

Signed-off-by: Parav Pandit <pandit.parav@gmail.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.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/packer.c
drivers/infiniband/core/sa_query.c
drivers/infiniband/core/ucm.c
drivers/infiniband/core/ucma.c
drivers/infiniband/core/ud_header.c
drivers/infiniband/core/uverbs_main.c