diff options
author | Eyal Perry <eyalpe@mellanox.com> | 2014-03-02 10:25:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-02 20:04:01 -0500 |
commit | 28d222bbaa5122fb4bb0e607e39ab149a010e587 (patch) | |
tree | cbad404a3d3360f19148d5076fd2a251a669030d /include/linux/mlx4 | |
parent | net/mlx4_en: Fix selftest failing on non 10G link speed (diff) | |
download | linux-dev-28d222bbaa5122fb4bb0e607e39ab149a010e587.tar.xz linux-dev-28d222bbaa5122fb4bb0e607e39ab149a010e587.zip |
net/mlx4_core: Fix sparse warning
This patch force conversion to u32 to fix the following sparse warning:
drivers/net/ethernet/mellanox/mlx4/fw.c:1822:53: warning: restricted __be32
degrades to integer
Casting to u32 is safe here, because token will be returned as is
from the hardware without any modification.
Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4')
0 files changed, 0 insertions, 0 deletions