]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit08920b8f5d2d3b6eb8bc118923f707c769704c77
tree73b45de43498f5f256e0a7a8313d930f23f061dd
parentaf68ccbc1131ddd8dcda65b015cd9919b352485a
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