aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mad.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2015-06-25 12:04:49 -0400
committerDoug Ledford <dledford@redhat.com>2015-07-14 13:20:08 -0400
commitcd4cd565e049c6e734a12754d91d1142c25f6a64 (patch)
treebcddcf9bbbc75c121d694023443b80f27c32cabe /drivers/infiniband/hw/mlx4/mad.c
parentIB: Add rdma_cap_ib_switch helper and use where appropriate (diff)
downloadlinux-dev-cd4cd565e049c6e734a12754d91d1142c25f6a64.tar.xz
linux-dev-cd4cd565e049c6e734a12754d91d1142c25f6a64.zip
IB/mad: Fix compare between big endian and cpu endian
The define OPA_LID_PERMISSIVE is big endian and was compared to the cpu endian variable opa_drslid. Problem caught by 0-day build infrastructure. Fixes: 8e4349d13f33 (IB/mad: Add final OPA MAD processing) Signed-off-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: John, Jubin <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mad.c')
0 files changed, 0 insertions, 0 deletions