diff options
author | Joe Perches <joe@perches.com> | 2017-02-09 14:23:50 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-20 16:13:20 -0400 |
commit | 700456bd25946ef531773d1ad2dd511e1cc4515e (patch) | |
tree | a1239c207684dc62de9c584c73e3dd10b502559a /drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |
parent | b7b37ee0e137c8384c6cb3a37c4621649d5acdf6 (diff) |
cxgb4: Use more common logging style
Convert printks to pr_<level>
Miscellanea:
o Coalesce formats
o Realign arguments
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/iw_cxgb4.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h index 5846c47c8d55..e2fec1c31a97 100644 --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h @@ -64,6 +64,12 @@ #define DRV_NAME "iw_cxgb4" #define MOD DRV_NAME ":" +#ifdef pr_fmt +#undef pr_fmt +#endif + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + extern int c4iw_debug; #define PDBG(fmt, args...) \ do { \ |