IB/rxe: Convert pr_info to pr_warn
authorYuval Shaia <yuval.shaia@oracle.com>
Fri, 21 Jul 2017 19:14:09 +0000 (22:14 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 18 Aug 2017 18:01:09 +0000 (14:01 -0400)
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>
drivers/infiniband/sw/rxe/rxe_av.c

index 5bddf469361b0f8ff2522a47bd21a3ae3c20e629..f8172eb993cc4923a176a1d255da7a724bca674b 100644 (file)
@@ -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;
                }
        }