diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-01-16 04:43:56 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-01-16 04:43:56 (GMT) |
commit | d3b924d960a808105180d229b4667061123cc4ef (patch) | |
tree | 737d89283ddb511110d6b651a8d01c8cae704a94 /drivers/infiniband/hw/mlx4/qp.c | |
parent | e0b325d310a6b11f1538413fd557d2eb98f2fae5 (diff) | |
download | linux-fsl-qoriq-d3b924d960a808105180d229b4667061123cc4ef.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/qp.c')
0 files changed, 0 insertions, 0 deletions