summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw
diff options
context:
space:
mode:
authorYuval Shaia2017-07-21 21:14:09 +0200
committerDoug Ledford2017-08-18 20:01:09 +0200
commit8b62cbd13a245f59282ba27431adf4caa674dd0b (patch)
tree08641781cc23b19d0ef794d697dca4884f090085 /drivers/infiniband/sw
parenti40iw: Fixes for static checker warnings (diff)
downloadkernel-qcow2-linux-8b62cbd13a245f59282ba27431adf4caa674dd0b.tar.gz
kernel-qcow2-linux-8b62cbd13a245f59282ba27431adf4caa674dd0b.tar.xz
kernel-qcow2-linux-8b62cbd13a245f59282ba27431adf4caa674dd0b.zip
IB/rxe: Convert pr_info to pr_warn
This message is warning so let's print it accordingly. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_av.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_av.c b/drivers/infiniband/sw/rxe/rxe_av.c
index 5bddf469361b..f8172eb993cc 100644
--- a/drivers/infiniband/sw/rxe/rxe_av.c
+++ b/drivers/infiniband/sw/rxe/rxe_av.c
@@ -49,7 +49,7 @@ int rxe_av_chk_attr(struct rxe_dev *rxe, struct rdma_ah_attr *attr)
u8 sgid_index = rdma_ah_read_grh(attr)->sgid_index;
if (sgid_index > port->attr.gid_tbl_len) {
- pr_info("invalid sgid index = %d\n", sgid_index);
+ pr_warn("invalid sgid index = %d\n", sgid_index);
return -EINVAL;
}
}