Skip to content

Commit

Permalink
IB/rxe: Convert pr_info to pr_warn
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yuval Shaia authored and Doug Ledford committed Aug 18, 2017
1 parent 83fb1c8 commit 8b62cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/sw/rxe/rxe_av.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 8b62cbd

Please sign in to comment.