Thread (13 messages) 13 messages, 3 authors, 2026-02-15

Re: [PATCH net 6/6] net/mlx5e: Use unsigned for mlx5e_get_max_num_channels

From: Jacob Keller <jacob.e.keller@intel.com>
Date: 2026-02-12 22:41:56
Also in: linux-rdma, lkml


On 2/12/2026 2:32 AM, Tariq Toukan wrote:
From: Cosmin Ratiu <redacted>

The max number of channels is always an unsigned int, use the correct
type to fix compilation errors done with strict type checking, e.g.:

error: call to ‘__compiletime_assert_1110’ declared with attribute
   error: min(mlx5e_get_devlink_param_num_doorbells(mdev),
   mlx5e_get_max_num_channels(mdev)) signedness error
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help