commit | 8e1a03b63c62bfa622c3989f8aead17ea845db7d | [log] [tgz] |
---|---|---|
author | Or Gerlitz <ogerlitz@mellanox.com> | Wed Sep 10 17:15:11 2014 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 10 15:22:43 2014 -0700 |
tree | 1116a38699e9932c513c27d55d685b17887d152c | |
parent | 7319a1a49781d6b845e541d13fd2e5d1303ec18b [diff] |
mlx4: Fix wrong endianess access with QP context flags We wrongly tested QP context bits without BE conversion as was spotted by sparse... drivers/infiniband/hw/mlx4/qp.c:1685:38: sparse: restricted __be32 degrades to integer Fix that! Fixes: d2fce8a ('mlx4: Set user-space raw Ethernet QPs to properly handle VXLAN traffic') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>