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>
This commit is contained in:
committed by
Jakub Kicinski
parent
79d89fab22
commit
c94fae5f1c
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user