diff options
| author | Cosmin Ratiu <cratiu@nvidia.com> | 2025-11-09 11:37:50 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-11-11 15:05:44 +0100 |
| commit | 2dc768c05217e667f987907a3404926e7ba89ff3 (patch) | |
| tree | a8a1f620155fdc718bcb425024f82d564b9259ec /net/unix/af_unix.c | |
| parent | 0bcd5b3b50cc1fcbf775479322cc37c15d35a489 (diff) | |
net/mlx5e: Trim the length of the num_doorbell error
When trying to set num_doorbells to a value greater than the max number
of channels, the error message was going over the netlink limit of 80
chars, truncating the most important part of the message, the number of
channels.
Fix that by trimming the length a bit.
Fixes: 11bbcfb7668c ("net/mlx5e: Use the 'num_doorbells' devlink param")
Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1762681073-1084058-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
