diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2014-09-10 16:15:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-11 00:22:43 +0200 |
commit | 8e1a03b63c62bfa622c3989f8aead17ea845db7d (patch) | |
tree | 1116a38699e9932c513c27d55d685b17887d152c /kernel/freezer.c | |
parent | Merge branch 'mlx4' (diff) | |
download | linux-8e1a03b63c62bfa622c3989f8aead17ea845db7d.tar.xz linux-8e1a03b63c62bfa622c3989f8aead17ea845db7d.zip |
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>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions