From: Yuval Shaia Date: Fri, 21 Jul 2017 19:14:09 +0000 (+0300) Subject: IB/rxe: Convert pr_info to pr_warn X-Git-Tag: v4.14-rc2~9^2~139^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b62cbd13a245f59282ba27431adf4caa674dd0b;p=platform%2Fkernel%2Flinux-exynos.git IB/rxe: Convert pr_info to pr_warn This message is warning so let's print it accordingly. Signed-off-by: Yuval Shaia Reviewed-by: Leon Romanovsky Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/sw/rxe/rxe_av.c b/drivers/infiniband/sw/rxe/rxe_av.c index 5bddf46..f8172eb9 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; } }