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-17 15:37:55 -08:00
2008-12-28 16:32:38 -08:00
2009-01-09 13:14:07 -08:00
2008-12-25 16:50:41 -08:00
2008-12-08 01:14:16 -08:00
2008-11-25 18:26:20 -08:00
2008-11-25 18:12:49 -08:00
2008-10-27 17:06:18 -07:00
2008-11-25 18:25:32 -08:00
2008-10-27 17:06:18 -07:00
2008-12-16 23:54:23 -08:00
2008-11-21 17:31:51 -08:00
2008-11-16 12:41:35 -08:00
2008-11-20 20:28:00 -08:00
2008-11-25 18:24:20 -08:00
2008-12-08 01:14:16 -08:00
2008-11-21 17:37:54 -08:00
2008-11-25 18:23:59 -08:00
2008-12-25 18:07:50 -08:00
2008-11-21 17:36:36 -08:00
2008-11-25 18:24:57 -08:00
2008-12-08 23:50:18 -08:00
2008-12-28 16:32:38 -08:00
2008-10-27 17:06:18 -07:00
2008-12-08 01:14:16 -08:00
2008-11-25 18:24:38 -08:00
2008-12-02 15:00:28 -08:00
2008-10-27 17:06:18 -07:00
2008-12-08 01:14:16 -08:00
2008-11-21 17:39:02 -08:00
2008-11-25 18:23:35 -08:00
2008-12-03 22:10:38 -08:00
2008-10-27 17:06:18 -07:00
2008-11-21 17:35:40 -08:00
2008-12-08 01:14:16 -08:00
2008-12-25 18:03:28 -08:00
2008-12-16 01:23:49 -08:00
2008-10-27 17:06:18 -07:00
2008-11-10 15:11:56 -05:00
2008-11-10 15:11:56 -05:00
2008-11-21 17:37:24 -08:00
2008-10-27 17:06:18 -07:00
2008-11-25 18:23:06 -08:00
2008-11-25 18:25:49 -08:00
2008-12-08 01:14:16 -08:00
2008-12-08 01:14:16 -08:00
2008-10-27 17:06:18 -07:00
2008-12-21 20:21:18 -08:00
2008-12-29 18:23:28 -08:00
2008-11-25 18:21:56 -08:00
2008-10-27 17:06:18 -07:00