Blob Blame History Raw
From: Yuval Shaia <yuval.shaia@oracle.com>
Date: Fri, 21 Jul 2017 22:14:09 +0300
Subject: IB/rxe: Convert pr_info to pr_warn
Patch-mainline: v4.14-rc1
Git-commit: 8b62cbd13a245f59282ba27431adf4caa674dd0b
References: bsc#1050662 FATE#323951

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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 drivers/infiniband/sw/rxe/rxe_av.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 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,
 		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;
 		}
 	}