Skip to content
Commit 42c059ea authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mlx4: Fix warning in rounding up queue sizes



Doing max(1, foo) where foo is u32 generates a warning, because 1 is a
signed constant.  Fix this by using 1U instead.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 614c3c85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment