OpenCloudOS-Kernel/drivers/net/mlx4
Andrew Morton d3b924d960 mlx4_core: Fix min() warning
Fix

    drivers/net/mlx4/profile.c: In function `mlx4_make_profile':
    drivers/net/mlx4/profile.c:110: warning: comparison of distinct pointer types lacks a cast

This happened because num_possible_cpus() was secretly changed by
commit ae7a47e7 ("cpumask: make cpumask.h eat its own dogfood.") from
returning "int" to (now) returning "unsigned int".  I think that was a
good change, so we should just swallow the fallout.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Cc: Jack Morgenstein <jackm@dev.mellanox.co.il>
Cc: Vladimir Sokolovsky <vlad@mellanox.co.il>
Cc: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-01-15 20:43:56 -08:00
..
Makefile mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC 2008-10-22 15:47:49 -07:00
alloc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2008-10-23 08:16:03 -07:00
catas.c mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00
cmd.c mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00
cq.c mlx4_core: Add support for multiple completion event vectors 2008-12-22 07:15:03 -08:00
en_cq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2008-12-28 12:49:40 -08:00
en_main.c mlx4_en: Always allocate RX ring for each interrupt vector 2008-12-29 18:38:54 -08:00
en_netdev.c netdev: missing validate_address hooks 2009-01-11 00:06:42 -08:00
en_params.c mlx4_en: Returning real Max in get_ringparam 2009-01-08 10:57:37 -08:00
en_port.c mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC 2008-10-22 15:47:49 -07:00
en_port.h mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC 2008-10-22 15:47:49 -07:00
en_resources.c mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC 2008-10-22 15:47:49 -07:00
en_rx.c net: Remove unused netdev arg from some NAPI interfaces. 2008-12-22 20:43:12 -08:00
en_tx.c mlx4_en: Consider inline packets on completion 2009-01-08 10:57:15 -08:00
eq.c mlx4_core: Delete incorrect comment 2008-12-22 07:15:05 -08:00
fw.c mlx4: Setting the correct offset for default mac address 2008-10-27 14:50:03 -04:00
fw.h mlx4_core: Multiple port type support 2008-10-22 15:38:42 -07:00
icm.c mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00
icm.h mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00
intf.c mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00
main.c mlx4_core: Fix warning from min() 2009-01-09 13:14:07 -08:00
mcg.c mlx4: fix warning in drivers/net/mlx4/mcg.c 2008-11-25 16:57:59 -08:00
mlx4.h mlx4_core: Add support for multiple completion event vectors 2008-12-22 07:15:03 -08:00
mlx4_en.h mlx4_en: Returning real Max in get_ringparam 2009-01-08 10:57:37 -08:00
mr.c mlx4_core: Support multiple pre-reserved QP regions 2008-10-22 10:25:29 -07:00
pd.c mlx4_core: Support multiple pre-reserved QP regions 2008-10-22 10:25:29 -07:00
port.c mlx4_core: Save/restore default port IB capability mask 2008-11-28 21:29:46 -08:00
profile.c mlx4_core: Fix min() warning 2009-01-15 20:43:56 -08:00
qp.c mlx4_core: Support multiple pre-reserved QP regions 2008-10-22 10:25:29 -07:00
reset.c mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00
srq.c mlx4_core: Support multiple pre-reserved QP regions 2008-10-22 10:25:29 -07:00