]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: QPLIB: Add and use #define dev_fmt(fmt) "QPLIB: " fmt
authorJoe Perches <joe@perches.com>
Fri, 10 Aug 2018 18:42:46 +0000 (11:42 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 5 Sep 2018 21:35:20 +0000 (15:35 -0600)
commitf34fff743ef2542cc6a5d9da81d1ccce8b6fa225
tree73b45de43498f5f256e0a7a8313d930f23f061dd
parentd941e4cc059da68aada361c607055f6fb7d0d048
RDMA/bnxt_re: QPLIB: Add and use #define dev_fmt(fmt) "QPLIB: " fmt

Consistently use the "QPLIB: " prefix for dev_<level> logging.

Miscellanea:

o Add missing newlines to avoid possible message interleaving
o Coalesce consecutive dev_<level> uses that emit a message header to
  avoid < 80 column lengths and mistakenly output on multiple lines
o Reflow modified lines to use 80 columns where appropriate
o Consistently use "%s: " where __func__ is output
o QPLIB: is now always output immediately after the dev_<level> header

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/bnxt_re/qplib_fp.c
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c
drivers/infiniband/hw/bnxt_re/qplib_res.c
drivers/infiniband/hw/bnxt_re/qplib_sp.c