]> err.no Git - linux-2.6/commit
IB/mlx4: Fix warning in rounding up queue sizes
authorRoland Dreier <rolandd@cisco.com>
Tue, 12 Jun 2007 17:52:02 +0000 (10:52 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 12 Jun 2007 17:52:02 +0000 (10:52 -0700)
commit42c059ea2b0aac5f961253ba81c1b464d181a600
tree44784011ab1fde7212855b07d97926bd6d2a2cae
parent614c3c85b5b4c3776439d464939c123cce679dee
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: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c