Roland Dreier 70cb92539c mlx4_core: Fix warning from min()
Recent cpumask changes changed num_possible_cpus() from returning an int
to returning an unsigned int.  This means that doing

    min(num_possible_cpus(), <int expression>)

now produces a warning like

    drivers/net/mlx4/main.c: In function 'mlx4_enable_msi_x':
    drivers/net/mlx4/main.c:915: warning: comparison of distinct pointer types lacks a cast

Fix this by using min_t(int, ...).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-01-09 13:14:07 -08:00
..
2008-12-29 07:39:34 -05:00
2008-12-29 11:24:17 -06:00
2008-12-16 14:58:02 +01:00
2009-01-09 13:14:07 -08:00
2008-12-21 14:21:14 +11:00
2008-11-19 21:40:23 -08:00