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>
This commit is contained in:
parent
83fb1c89e7
commit
8b62cbd13a
|
@ -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;
|
u8 sgid_index = rdma_ah_read_grh(attr)->sgid_index;
|
||||||
|
|
||||||
if (sgid_index > port->attr.gid_tbl_len) {
|
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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue