diff options
author | Joe Perches <joe@perches.com> | 2015-05-09 01:58:07 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-05-12 22:52:37 +0300 |
commit | f4f01b542c027b0df57109140c3ee48321705c88 (patch) | |
tree | b8c9ae5eda6472e9eeafa930cc46cda46de39434 /drivers/infiniband/hw/mlx5 | |
parent | ec40f925e0151e3c130fce2b5a1c6389c5b5e4dd (diff) | |
download | linux-f4f01b542c027b0df57109140c3ee48321705c88.tar.xz |
infiniband: Remove duplicated KERN_<LEVEL> from pr_<level> uses
These KERN_<LEVEL> uses are unnecessary with pr_<level> and cause
bad logging output so remove them.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
-rw-r--r-- | drivers/infiniband/hw/mlx5/qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index 4d7024b899cb..d35f62d4f4c5 100644 --- a/drivers/infiniband/hw/mlx5/qp.c +++ b/drivers/infiniband/hw/mlx5/qp.c @@ -1392,7 +1392,7 @@ static int mlx5_set_path(struct mlx5_ib_dev *dev, const struct ib_ah_attr *ah, if (ah->ah_flags & IB_AH_GRH) { if (ah->grh.sgid_index >= gen->port[port - 1].gid_table_len) { - pr_err(KERN_ERR "sgid_index (%u) too large. max is %d\n", + pr_err("sgid_index (%u) too large. max is %d\n", ah->grh.sgid_index, gen->port[port - 1].gid_table_len); return -EINVAL; } |