diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-02-22 09:29:02 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-22 11:53:37 -0700 |
commit | afc1990e089f501d686bb95b98146fc7ba23347f (patch) | |
tree | f2512bbefcd5012fd0ccc7063bdfd3a8ab150195 /drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | |
parent | c50866e2853a0315ae9669691406c614f5d848b2 (diff) | |
download | linux-afc1990e089f501d686bb95b98146fc7ba23347f.tar.bz2 |
RDMA/core: Fix a WARN() message
The first parameter of WARN_ONCE() is a condition, then following
parameters are the message. In this case, we left out the condition so it
will just print the ops->type string.
Fixes: 3856ec4b93c9 ("RDMA/core: Add RDMA_NLDEV_CMD_NEWLINK/DELLINK support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c')
0 files changed, 0 insertions, 0 deletions