diff options
author | Gal Pressman <gal@nvidia.com> | 2025-02-26 11:39:03 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-27 18:11:38 -0800 |
commit | c94fae5f1ccfd38de6ca92fda9736412b0d96770 (patch) | |
tree | ba7c8a6c219f18d9fdaf7e02561954ef9216f27d /net/sched | |
parent | 79d89fab225e85e3219258af860b5f086f40f3d3 (diff) |
net: sched: Remove newline at the end of a netlink error message
Netlink error messages should not have a newline at the end of the
string.
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/20250226093904.6632-5-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_qfq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_qfq.c b/net/sched/sch_qfq.c index 6a07cdbdb9e1..2cfbc977fe6d 100644 --- a/net/sched/sch_qfq.c +++ b/net/sched/sch_qfq.c @@ -447,7 +447,7 @@ static int qfq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, if (q->wsum + delta_w > QFQ_MAX_WSUM) { NL_SET_ERR_MSG_FMT_MOD(extack, - "total weight out of range (%d + %u)\n", + "total weight out of range (%d + %u)", delta_w, q->wsum); return -EINVAL; } |