From: Or Gerlitz Date: Wed, 10 Sep 2014 14:15:11 +0000 (+0300) Subject: mlx4: Fix wrong endianess access with QP context flags X-Git-Tag: fixes-for-v3.18-merge-window~87^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e1a03b63c62bfa622c3989f8aead17ea845db7d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed