Re: [PATCH net-next 3/7] net/mlx5: Improve QoS error messages with actual depth values

From: Jakub Kicinski

Date: Mon Sep 22 2025 - 20:06:43 EST


On Mon, 22 Sep 2025 12:01:07 +0300 Tariq Toukan wrote:
> if (new_level > max_level) {
> - NL_SET_ERR_MSG_MOD(extack,
> - "TC arbitration on leafs is not supported beyond max scheduling depth");
> + NL_SET_ERR_MSG_FMT_MOD(extack,
> + "TC arbitration on leafs is not supported beyond max scheduling depth %d",
> + max_level);

clang points out that these messages are too long to fit in extack
--
pw-bot: cr