Commit 31d0e6c1 authored by Joe Perches's avatar Joe Perches Committed by Doug Ledford

mlx5: Fix formats with line continuation whitespace

The line continuations unintentionally add whitespace so
instead use coalesced formats to remove the whitespace.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/f14db3287b23ed8af9bdbf8001e2e2fe7ae9e43a.camel@perches.comSigned-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent b2567ebb
...@@ -188,8 +188,7 @@ int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u16 *index, ...@@ -188,8 +188,7 @@ int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u16 *index,
/* new rate limit */ /* new rate limit */
err = mlx5_set_pp_rate_limit_cmd(dev, entry->index, rl); err = mlx5_set_pp_rate_limit_cmd(dev, entry->index, rl);
if (err) { if (err) {
mlx5_core_err(dev, "Failed configuring rate limit(err %d): \ mlx5_core_err(dev, "Failed configuring rate limit(err %d): rate %u, max_burst_sz %u, typical_pkt_sz %u\n",
rate %u, max_burst_sz %u, typical_pkt_sz %u\n",
err, rl->rate, rl->max_burst_sz, err, rl->rate, rl->max_burst_sz,
rl->typical_pkt_sz); rl->typical_pkt_sz);
goto out; goto out;
...@@ -218,8 +217,7 @@ void mlx5_rl_remove_rate(struct mlx5_core_dev *dev, struct mlx5_rate_limit *rl) ...@@ -218,8 +217,7 @@ void mlx5_rl_remove_rate(struct mlx5_core_dev *dev, struct mlx5_rate_limit *rl)
mutex_lock(&table->rl_lock); mutex_lock(&table->rl_lock);
entry = find_rl_entry(table, rl); entry = find_rl_entry(table, rl);
if (!entry || !entry->refcount) { if (!entry || !entry->refcount) {
mlx5_core_warn(dev, "Rate %u, max_burst_sz %u typical_pkt_sz %u \ mlx5_core_warn(dev, "Rate %u, max_burst_sz %u typical_pkt_sz %u are not configured\n",
are not configured\n",
rl->rate, rl->max_burst_sz, rl->typical_pkt_sz); rl->rate, rl->max_burst_sz, rl->typical_pkt_sz);
goto out; goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment