android_kernel_xiaomi_sm8350/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
..
alloc.c
catas.c
cmd.c
cq.c
en_cq.c
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
en_port.h
en_resources.c
en_rx.c
en_tx.c mlx4_en: Consider inline packets on completion 2009-01-08 10:57:15 -08:00
eq.c
fw.c
fw.h
icm.c
icm.h
intf.c
main.c mlx4_core: Fix warning from min() 2009-01-09 13:14:07 -08:00
Makefile
mcg.c
mlx4_en.h mlx4_en: Returning real Max in get_ringparam 2009-01-08 10:57:37 -08:00
mlx4.h
mr.c
pd.c
port.c
profile.c mlx4_core: Fix min() warning 2009-01-15 20:43:56 -08:00
qp.c
reset.c
srq.c